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: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.404/1.404, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.364/2.364, allocations: 390.2 MB / 0.6646 GB, free: 412 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001497, allocations: 55.91 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8128/0.8143, allocations: 140.4 MB / 0.9496 GB, free: 9.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004725/0.8191, allocations: 3.731 MB / 0.9532 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002279/0.8194, allocations: 169.6 kB / 0.9534 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.094e-05/0.8194, allocations: 1.344 kB / 0.9534 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001381/0.8195, allocations: 0 / 0.9534 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001099/0.8197, allocations: 15.23 kB / 0.9534 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004941/0.8202, allocations: 77.72 kB / 0.9535 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.8203, allocations: 37.75 kB / 0.9535 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.087e-05/0.8204, allocations: 1.344 kB / 0.9535 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.766e-05/0.8205, allocations: 17.77 kB / 0.9535 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.8206, allocations: 21.61 kB / 0.9535 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.8206, allocations: 1.25 kB / 0.9535 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007902/0.8214, allocations: 188.4 kB / 0.9537 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.887e-05/0.8215, allocations: 2.719 kB / 0.9537 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.717e-05/0.8215, allocations: 11.98 kB / 0.9537 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.8217, allocations: 40.28 kB / 0.9538 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.978e-06/0.8217, allocations: 5.328 kB / 0.9538 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8217, allocations: 0 / 0.9538 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.8218, allocations: 4 kB / 0.9538 GB, free: 5.664 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.0004872/0.8223, allocations: 332.5 kB / 0.9541 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.8223, allocations: 8.219 kB / 0.9541 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.285e-05/0.8224, allocations: 2.781 kB / 0.9541 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.8225, allocations: 161.8 kB / 0.9543 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.016e-05/0.8226, allocations: 27.7 kB / 0.9543 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.8226, allocations: 1.812 kB / 0.9543 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.8228, allocations: 50.45 kB / 0.9543 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.8228, allocations: 4 kB / 0.9543 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.8228, allocations: 0.625 kB / 0.9543 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.991e-05/0.8229, allocations: 5.219 kB / 0.9543 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.469e-05/0.823, allocations: 13.67 kB / 0.9544 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005786/0.8235, allocations: 332.6 kB / 0.9547 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.032e-05/0.8236, allocations: 20.72 kB / 0.9547 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.725e-05/0.8236, allocations: 5.766 kB / 0.9547 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.582e-05/0.8237, allocations: 86.23 kB / 0.9548 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.8237, allocations: 39.56 kB / 0.9548 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.8237, allocations: 5.031 kB / 0.9548 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001751/0.8239, allocations: 35 kB / 0.9549 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.824, allocations: 52.41 kB / 0.9549 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.669e-05/0.824, allocations: 100.3 kB / 0.955 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.8241, allocations: 25.83 kB / 0.955 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.231e-05/0.8241, allocations: 93.34 kB / 0.9551 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.472e-06/0.8241, allocations: 9.594 kB / 0.9551 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.947e-05/0.8242, allocations: 16.34 kB / 0.9551 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.836e-05/0.8242, allocations: 315.9 kB / 0.9554 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.603e-05/0.8242, allocations: 7.484 kB / 0.9554 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.115e-05/0.8243, allocations: 20.44 kB / 0.9555 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.561e-05/0.8243, allocations: 21.06 kB / 0.9555 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.8243, allocations: 0 / 0.9555 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.608e-05/0.8244, allocations: 54.88 kB / 0.9555 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.8244, allocations: 5.094 kB / 0.9555 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.8244, allocations: 0 / 0.9555 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.8244, allocations: 1.219 kB / 0.9555 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.924e-05/0.8245, allocations: 4.938 kB / 0.9555 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.8245, allocations: 0.9375 kB / 0.9555 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.231e-05/0.8245, allocations: 9.328 kB / 0.9556 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.8245, allocations: 1.156 kB / 0.9556 GB, free: 3.688 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 6.556e-05/0.8246, allocations: 116.6 kB / 0.9557 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.8247, allocations: 5.312 kB / 0.9557 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.1e-05/0.8248, allocations: 115.5 kB / 0.9558 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.954e-05/0.8248, allocations: 181.3 kB / 0.956 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.171e-05/0.8248, allocations: 189.4 kB / 0.9561 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.012e-05/0.8249, allocations: 181.8 kB / 0.9563 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.825, allocations: 404.3 kB / 0.9567 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.03e-05/0.825, allocations: 112.9 kB / 0.9568 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.535e-05/0.8251, allocations: 102.2 kB / 0.9569 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-05/0.8251, allocations: 185.2 kB / 0.9571 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.193e-05/0.8251, allocations: 185.3 kB / 0.9573 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-05/0.8252, allocations: 177.4 kB / 0.9574 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.913e-05/0.8252, allocations: 181.2 kB / 0.9576 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.632e-05/0.8253, allocations: 312.1 kB / 0.9579 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.594e-05/0.8253, allocations: 183.3 kB / 0.9581 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.703e-05/0.8254, allocations: 181.3 kB / 0.9582 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.8255, allocations: 112.1 kB / 0.9583 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.088e-05/0.8256, allocations: 181.5 kB / 0.9585 GB, free: 476 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.8256, allocations: 106.1 kB / 0.9586 GB, free: 364 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.122e-05/0.8256, allocations: 79.62 kB / 0.9587 GB, free: 288 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8256, allocations: 4 kB / 0.9587 GB, free: 284 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002585/0.8259, allocations: 24.27 kB / 0.9587 GB, free: 272 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.0002693/0.8262, allocations: 201.4 kB / 0.9589 GB, free: 88 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.912e-05/0.8263, allocations: 10.27 kB / 0.9589 GB, free: 84 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.8263, allocations: 0 / 0.9589 GB, free: 84 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.327e-06/0.8263, allocations: 1.312 kB / 0.9589 GB, free: 84 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00049/0.8268, allocations: 471.5 kB / 0.9594 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002902/0.8271, allocations: 177 kB / 0.9595 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/0.8275, allocations: 0.672 MB / 0.9602 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.205e-05/0.8275, allocations: 12.14 kB / 0.9602 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.996e-05/0.8276, allocations: 8.844 kB / 0.9602 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of SimCode: time 4.11e-07/0.8276, allocations: 0 / 0.9602 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of Templates: time 0.003032/0.8306, allocations: 0.6442 MB / 0.9609 GB, free: 14.39 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (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 & ./Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches