Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,fileNamePrefix="Buildings_9_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,fileNamePrefix="Buildings_9_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001138, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 193.6 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.349/2.349, allocations: 390.2 MB / 0.6643 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 59.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6529/0.6543, allocations: 140.4 MB / 0.949 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001771/0.6561, allocations: 0.604 MB / 0.9496 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.6574, allocations: 1.203 MB / 0.9508 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.553e-05/0.6574, allocations: 5 kB / 0.9508 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.141e-05/0.6575, allocations: 9.375 kB / 0.9508 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.917e-05/0.6576, allocations: 0 / 0.9508 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004489/0.658, allocations: 243.5 kB / 0.9511 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.246e-05/0.6581, allocations: 70.14 kB / 0.9511 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.576e-05/0.6581, allocations: 8.172 kB / 0.9511 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.959e-05/0.6582, allocations: 42.19 kB / 0.9512 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.337e-05/0.6582, allocations: 45.64 kB / 0.9512 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.6583, allocations: 6.125 kB / 0.9512 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003347/0.6586, allocations: 184.9 kB / 0.9514 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.175e-05/0.6586, allocations: 3.812 kB / 0.9514 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.567e-05/0.6587, allocations: 38.55 kB / 0.9514 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002896/0.659, allocations: 258.3 kB / 0.9517 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.659, allocations: 0 / 0.9517 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.92e-07/0.659, allocations: 0 / 0.9517 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.659, allocations: 0 / 0.9517 GB, free: 7.324 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003133/0.6593, allocations: 446.2 kB / 0.9521 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.6594, allocations: 9.531 kB / 0.9521 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.54e-05/0.6594, allocations: 106 kB / 0.9522 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.371e-05/0.6595, allocations: 90.25 kB / 0.9523 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.905e-05/0.6596, allocations: 256 kB / 0.9526 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.6596, allocations: 160.8 kB / 0.9527 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/0.6597, allocations: 156.7 kB / 0.9529 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.372e-05/0.6597, allocations: 110.5 kB / 0.953 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.6597, allocations: 75.28 kB / 0.953 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.6597, allocations: 150.6 kB / 0.9532 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/0.6598, allocations: 155.8 kB / 0.9533 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.861e-05/0.6598, allocations: 154.6 kB / 0.9535 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001938/0.66, allocations: 470.6 kB / 0.9539 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.889e-05/0.66, allocations: 169.1 kB / 0.9541 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.49e-05/0.66, allocations: 85.27 kB / 0.9542 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.6601, allocations: 79.22 kB / 0.9542 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/0.6601, allocations: 111.5 kB / 0.9543 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.6601, allocations: 0 / 0.9543 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 8.801e-05/0.6602, allocations: 39.89 kB / 0.9544 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.371e-05/0.6602, allocations: 126.7 kB / 0.9545 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.6603, allocations: 152.2 kB / 0.9546 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.6604, allocations: 28.52 kB / 0.9547 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.247e-05/0.6604, allocations: 93.09 kB / 0.9548 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-06/0.6604, allocations: 0 / 0.9548 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.119e-05/0.6605, allocations: 43.53 kB / 0.9548 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.681e-05/0.6605, allocations: 316.2 kB / 0.9551 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.6606, allocations: 62.09 kB / 0.9552 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.624e-05/0.6607, allocations: 61.33 kB / 0.9552 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.6609, allocations: 98.95 kB / 0.9553 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.6609, allocations: 0 / 0.9553 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003499/0.6612, allocations: 236.1 kB / 0.9555 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.679e-05/0.6613, allocations: 45.66 kB / 0.9556 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.6613, allocations: 3.938 kB / 0.9556 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.6613, allocations: 1.469 kB / 0.9556 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.114e-06/0.6613, allocations: 3.984 kB / 0.9556 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.259e-06/0.6613, allocations: 0 / 0.9556 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002877/0.6616, allocations: 26.36 kB / 0.9556 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-05/0.6617, allocations: 14.86 kB / 0.9556 GB, free: 3.418 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (yI2[2],yI2[1],yI1[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.125e-05/0.6617, allocations: 201.9 kB / 0.9558 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.555e-05/0.6618, allocations: 111.4 kB / 0.9559 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.556e-05/0.6618, allocations: 114.7 kB / 0.956 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.286e-05/0.6619, allocations: 177.4 kB / 0.9562 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.426e-05/0.6619, allocations: 189.2 kB / 0.9564 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-05/0.6619, allocations: 181.3 kB / 0.9566 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.662, allocations: 408.9 kB / 0.957 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.314e-05/0.6621, allocations: 108.9 kB / 0.9571 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.196e-05/0.6621, allocations: 102.2 kB / 0.9572 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-05/0.6621, allocations: 185.3 kB / 0.9573 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.6621, allocations: 189.4 kB / 0.9575 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.037e-05/0.6622, allocations: 181.4 kB / 0.9577 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-05/0.6622, allocations: 181.5 kB / 0.9579 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.443e-05/0.6622, allocations: 309.3 kB / 0.9582 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.88e-05/0.6623, allocations: 187.1 kB / 0.9583 GB, free: 500 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.6623, allocations: 181.5 kB / 0.9585 GB, free: 312 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.266e-05/0.6624, allocations: 106 kB / 0.9586 GB, free: 200 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.941e-05/0.6624, allocations: 181.5 kB / 0.9588 GB, free: 12 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.865e-05/0.6625, allocations: 109.9 kB / 0.9589 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.598e-05/0.6625, allocations: 104 kB / 0.959 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6625, allocations: 1.406 kB / 0.959 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003521/0.6629, allocations: 67.95 kB / 0.9591 GB, free: 15.79 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009492/0.6639, allocations: 1.036 MB / 0.9601 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002855/0.6642, allocations: 218.8 kB / 0.9603 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6642, allocations: 0 / 0.9603 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.226e-06/0.6642, allocations: 1.188 kB / 0.9603 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.6645, allocations: 0.5313 MB / 0.9608 GB, free: 14.2 MB / 0.7325 GB Warning: Could not resolve URI ("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/legal.html") at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.6662, allocations: 1.862 MB / 0.9626 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.6664, allocations: 0.6835 MB / 0.9633 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.394e-05/0.6665, allocations: 55.7 kB / 0.9633 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.998e-05/0.6665, allocations: 9.25 kB / 0.9633 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of SimCode: time 1.613e-06/0.6665, allocations: 0 / 0.9633 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4269/1.093, allocations: 3.541 MB / 0.9668 GB, free: 10 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002143/1.094, allocations: 288.2 kB / 0.9671 GB, free: 9.625 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.758/2.852, allocations: 0 / 0.9671 GB, free: 9.625 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.fmu > Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches