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.008647/0.008647, allocations: 102.6 kB / 15.73 MB, free: 6.035 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.001705/0.001705, allocations: 193.1 kB / 16.67 MB, free: 5.973 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.537/2.537, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 66.06 kB / 0.9508 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3776, allocations: 140.4 MB / 1.088 GB, free: 1.602 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006054/0.3837, allocations: 3.726 MB / 1.092 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002353/0.384, allocations: 163.5 kB / 1.092 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.992e-05/0.384, allocations: 0 / 1.092 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001319/0.3842, allocations: 3.938 kB / 1.092 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.796e-05/0.3843, allocations: 7.984 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004221/0.3847, allocations: 84.94 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.3848, allocations: 35.91 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.786e-05/0.3849, allocations: 0 / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.307e-05/0.385, allocations: 23.86 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.446e-05/0.3851, allocations: 11.98 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.3851, allocations: 0 / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006036/0.3857, allocations: 187.4 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.551e-05/0.3857, allocations: 4 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.228e-05/0.3858, allocations: 15.92 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.3859, allocations: 43.89 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3859, allocations: 4 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.322e-06/0.386, allocations: 0 / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.386, allocations: 0 / 1.092 GB, free: 13.28 MB / 0.8575 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.0004238/0.3864, allocations: 331.5 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.3864, allocations: 12.03 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/0.3865, allocations: 4.844 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.3866, allocations: 168.3 kB / 1.093 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.383e-05/0.3867, allocations: 30.27 kB / 1.093 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.3867, allocations: 384 / 1.093 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.3869, allocations: 53.61 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.3869, allocations: 4 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.3869, allocations: 0 / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.985e-05/0.3869, allocations: 0 / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.53e-05/0.387, allocations: 11.98 kB / 1.093 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004489/0.3874, allocations: 334 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.906e-05/0.3875, allocations: 30.45 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.65e-05/0.3875, allocations: 8.859 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-05/0.3876, allocations: 81.17 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.3876, allocations: 30.56 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.3876, allocations: 0 / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001505/0.3878, allocations: 37.69 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.3878, allocations: 55.34 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.059e-05/0.3879, allocations: 110 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.3879, allocations: 25.7 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.389e-05/0.388, allocations: 84.05 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.482e-06/0.388, allocations: 3.906 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/0.388, allocations: 17.72 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.3881, allocations: 318.8 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.695e-05/0.3882, allocations: 3.984 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.564e-05/0.3882, allocations: 17.72 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.067e-05/0.3882, allocations: 25.72 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.3883, allocations: 0 / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.387e-05/0.3883, allocations: 45.62 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.3884, allocations: 5.562 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.3884, allocations: 4 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.3884, allocations: 0 / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.856e-05/0.3884, allocations: 8.266 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3885, allocations: 4.062 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.106e-05/0.3885, allocations: 4 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.3885, allocations: 7.938 kB / 1.094 GB, free: 11.16 MB / 0.8575 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 7.781e-05/0.3886, allocations: 113.7 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.3886, allocations: 4 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001372/0.3888, allocations: 127.6 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.516e-05/0.3888, allocations: 188.2 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001275/0.389, allocations: 176.3 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.39e-05/0.389, allocations: 176.3 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003461/0.3894, allocations: 421 kB / 1.095 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.942e-05/0.3894, allocations: 101 kB / 1.095 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.109e-05/0.3895, allocations: 108.9 kB / 1.095 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.967e-05/0.3896, allocations: 184.2 kB / 1.095 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.377e-05/0.3896, allocations: 176.3 kB / 1.096 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.073e-05/0.3897, allocations: 180.2 kB / 1.096 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-05/0.3898, allocations: 180.3 kB / 1.096 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.3899, allocations: 315.7 kB / 1.096 GB, free: 8.602 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.658e-05/0.39, allocations: 178.1 kB / 1.096 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.357e-05/0.3901, allocations: 188.1 kB / 1.097 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.3903, allocations: 109 kB / 1.097 GB, free: 8.098 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.589e-05/0.3904, allocations: 184.1 kB / 1.097 GB, free: 7.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-05/0.3904, allocations: 109 kB / 1.097 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.904e-05/0.3905, allocations: 91.27 kB / 1.097 GB, free: 7.707 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3905, allocations: 0 / 1.097 GB, free: 7.707 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003024/0.3908, allocations: 16 kB / 1.097 GB, free: 7.691 MB / 0.8575 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.0002801/0.3911, allocations: 198.4 kB / 1.097 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.076e-05/0.3912, allocations: 11.92 kB / 1.097 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3912, allocations: 4.125 kB / 1.097 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.382e-06/0.3912, allocations: 0 / 1.097 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.3916, allocations: 459.7 kB / 1.098 GB, free: 7.02 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000268/0.3919, allocations: 181.9 kB / 1.098 GB, free: 6.816 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.3921, allocations: 0.6807 MB / 1.099 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.005e-05/0.3922, allocations: 4 kB / 1.099 GB, free: 6.105 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.788e-05/0.3922, allocations: 7.438 kB / 1.099 GB, free: 6.098 MB / 0.8575 GB Notification: Performance of SimCode: time 1.633e-06/0.3922, allocations: 3.938 kB / 1.099 GB, free: 6.094 MB / 0.8575 GB Notification: Performance of Templates: time 0.003088/0.3953, allocations: 0.6607 MB / 1.099 GB, free: 5.441 MB / 0.8575 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