Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.001445/0.001445, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001675/0.001675, allocations: 195.9 kB / 16.26 MB, free: 6.625 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.22/1.22, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.164/2.164, allocations: 390.2 MB / 0.6644 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 63.91 kB / 0.8121 GB, free: 14.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5572/0.5586, allocations: 140.4 MB / 0.9492 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.003992/0.5626, allocations: 3.774 MB / 0.9529 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001393/0.5628, allocations: 165.4 kB / 0.953 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.599e-05/0.5628, allocations: 0 / 0.953 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.283e-05/0.5629, allocations: 1.562 kB / 0.953 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.532e-05/0.563, allocations: 11.3 kB / 0.9531 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.5633, allocations: 77.64 kB / 0.9531 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.885e-05/0.5634, allocations: 33.78 kB / 0.9532 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.186e-05/0.5634, allocations: 1.344 kB / 0.9532 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.417e-05/0.5634, allocations: 21.73 kB / 0.9532 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.419e-05/0.5635, allocations: 22.88 kB / 0.9532 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.5635, allocations: 1.344 kB / 0.9532 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004224/0.5639, allocations: 180.6 kB / 0.9534 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.448e-05/0.564, allocations: 2.562 kB / 0.9534 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.228e-05/0.564, allocations: 12.78 kB / 0.9534 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.5641, allocations: 55.16 kB / 0.9535 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.5641, allocations: 0 / 0.9535 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5641, allocations: 0 / 0.9535 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.5641, allocations: 0 / 0.9535 GB, free: 5.719 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002758/0.5644, allocations: 331.9 kB / 0.9538 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.5645, allocations: 10.84 kB / 0.9538 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.337e-05/0.5645, allocations: 34.75 kB / 0.9538 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.99e-05/0.5645, allocations: 2.438 kB / 0.9538 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.379e-05/0.5646, allocations: 169.7 kB / 0.954 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.651e-05/0.5646, allocations: 27.7 kB / 0.954 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.327e-06/0.5647, allocations: 4.688 kB / 0.954 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.5648, allocations: 46.56 kB / 0.9541 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.5648, allocations: 0.875 kB / 0.9541 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.5648, allocations: 0 / 0.9541 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.5648, allocations: 1.125 kB / 0.9541 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.077e-05/0.5649, allocations: 18.23 kB / 0.9541 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003123/0.5652, allocations: 336.8 kB / 0.9544 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.975e-05/0.5652, allocations: 24.69 kB / 0.9544 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.388e-05/0.5652, allocations: 9.828 kB / 0.9544 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.997e-05/0.5653, allocations: 86.11 kB / 0.9545 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.396e-05/0.5653, allocations: 35.47 kB / 0.9545 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.5653, allocations: 0.9688 kB / 0.9545 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001135/0.5654, allocations: 35.16 kB / 0.9546 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.754e-05/0.5655, allocations: 52.97 kB / 0.9546 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.959e-05/0.5655, allocations: 103.5 kB / 0.9547 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.5655, allocations: 25.7 kB / 0.9547 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.42e-05/0.5656, allocations: 90.27 kB / 0.9548 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.899e-06/0.5656, allocations: 3.938 kB / 0.9548 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-05/0.5656, allocations: 22.31 kB / 0.9549 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.672e-05/0.5656, allocations: 322.8 kB / 0.9552 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.291e-05/0.5657, allocations: 6.281 kB / 0.9552 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.676e-05/0.5657, allocations: 14.56 kB / 0.9552 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.667e-05/0.5657, allocations: 23.69 kB / 0.9552 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.5657, allocations: 0 / 0.9552 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.184e-05/0.5658, allocations: 55.44 kB / 0.9553 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.5658, allocations: 5.906 kB / 0.9553 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.5658, allocations: 5.031 kB / 0.9553 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.5658, allocations: 5.469 kB / 0.9553 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.795e-05/0.5659, allocations: 8.078 kB / 0.9553 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.5659, allocations: 1 kB / 0.9553 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.641e-05/0.5659, allocations: 1.156 kB / 0.9553 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.894e-06/0.5659, allocations: 1.156 kB / 0.9553 GB, free: 3.684 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 initialization (3): * Single equations (assignments): 3 * 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 prepare postOptimizeDAE: time 4.107e-05/0.566, allocations: 115.9 kB / 0.9554 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.566, allocations: 1.094 kB / 0.9554 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.157e-05/0.5661, allocations: 124.3 kB / 0.9555 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.942e-05/0.5661, allocations: 177.5 kB / 0.9557 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.251e-05/0.5661, allocations: 181.2 kB / 0.9559 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.123e-05/0.5662, allocations: 177.3 kB / 0.956 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.5663, allocations: 416.4 kB / 0.9564 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.365e-05/0.5663, allocations: 102.2 kB / 0.9565 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.245e-05/0.5663, allocations: 105 kB / 0.9566 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.1e-05/0.5663, allocations: 181.3 kB / 0.9568 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.5664, allocations: 177.2 kB / 0.957 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-05/0.5664, allocations: 189.3 kB / 0.9571 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.339e-05/0.5664, allocations: 177.4 kB / 0.9573 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.386e-05/0.5665, allocations: 316.2 kB / 0.9576 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.595e-05/0.5665, allocations: 183.1 kB / 0.9578 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.517e-05/0.5666, allocations: 186.3 kB / 0.958 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.5667, allocations: 111.3 kB / 0.9581 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.5667, allocations: 177.4 kB / 0.9582 GB, free: 480 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.5667, allocations: 106 kB / 0.9583 GB, free: 368 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.805e-05/0.5668, allocations: 87.67 kB / 0.9584 GB, free: 284 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5668, allocations: 1.062 kB / 0.9584 GB, free: 284 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002216/0.567, allocations: 15.44 kB / 0.9584 GB, free: 280 kB / 0.7169 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.000406/0.5674, allocations: 0.8309 MB / 0.9593 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 6.117e-05/0.5675, allocations: 10.62 kB / 0.9593 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5675, allocations: 128 / 0.9593 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.044e-06/0.5675, allocations: 5.406 kB / 0.9593 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.5679, allocations: 463.3 kB / 0.9597 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000838/0.5687, allocations: 1.318 MB / 0.961 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002054/0.5689, allocations: 0.6799 MB / 0.9617 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.826e-05/0.569, allocations: 5.031 kB / 0.9617 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.125e-05/0.569, allocations: 12.88 kB / 0.9617 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.569, allocations: 0 / 0.9617 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3612/0.9302, allocations: 1.417 MB / 0.9631 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002356/0.9305, allocations: 234.9 kB / 0.9633 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.678/2.608, allocations: 0 / 0.9633 GB, free: 11.98 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches