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.008308/0.008308, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001891/0.001891, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.176/2.176, allocations: 390.3 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 67.91 kB / 0.9504 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7803/0.7817, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005176/0.7869, allocations: 3.718 MB / 1.091 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002017/0.7871, allocations: 158.6 kB / 1.091 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.347e-05/0.7872, allocations: 0 / 1.091 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.7873, allocations: 6.219 kB / 1.091 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.891e-05/0.7874, allocations: 8.828 kB / 1.091 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003315/0.7877, allocations: 74.95 kB / 1.091 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.448e-05/0.7878, allocations: 45.67 kB / 1.091 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.055e-05/0.7879, allocations: 2.703 kB / 1.091 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.01e-05/0.7879, allocations: 19.39 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.703e-05/0.788, allocations: 8.266 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.788, allocations: 1.438 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000549/0.7886, allocations: 189.1 kB / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.18e-05/0.7886, allocations: 13.02 kB / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.883e-05/0.7886, allocations: 5.906 kB / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.7888, allocations: 44.14 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.7888, allocations: 4.969 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.634e-06/0.7888, allocations: 0 / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.7888, allocations: 0 / 1.092 GB, free: 2.332 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.0003185/0.7891, allocations: 340.5 kB / 1.092 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.7892, allocations: 10.92 kB / 1.092 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.7e-05/0.7892, allocations: 31.69 kB / 1.092 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.359e-05/0.7892, allocations: 2.734 kB / 1.092 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.369e-05/0.7893, allocations: 162.7 kB / 1.092 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.962e-05/0.7894, allocations: 27.75 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.7894, allocations: 10 kB / 1.092 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.7895, allocations: 43.73 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.475e-06/0.7895, allocations: 0 / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.7896, allocations: 12.53 kB / 1.092 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/0.7896, allocations: 0.8438 kB / 1.092 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.717e-05/0.7896, allocations: 17.25 kB / 1.092 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003459/0.79, allocations: 336.6 kB / 1.093 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 2.797e-05/0.79, allocations: 21.67 kB / 1.093 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.338e-05/0.7901, allocations: 5.703 kB / 1.093 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.674e-05/0.7901, allocations: 84.97 kB / 1.093 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.45e-05/0.7901, allocations: 35.28 kB / 1.093 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.7902, allocations: 0 / 1.093 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.000136/0.7903, allocations: 34.36 kB / 1.093 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.17e-05/0.7903, allocations: 59.53 kB / 1.093 GB, free: 1 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.111e-05/0.7904, allocations: 99.17 kB / 1.093 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.7904, allocations: 26.48 kB / 1.093 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.683e-05/0.7904, allocations: 89.48 kB / 1.093 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.853e-06/0.7904, allocations: 9.797 kB / 1.093 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/0.7905, allocations: 14.64 kB / 1.093 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.24e-05/0.7905, allocations: 325.1 kB / 1.093 GB, free: 444 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.55e-05/0.7905, allocations: 3.141 kB / 1.093 GB, free: 444 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.176e-05/0.7906, allocations: 22.47 kB / 1.093 GB, free: 420 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.234e-05/0.7906, allocations: 21.66 kB / 1.093 GB, free: 400 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.7906, allocations: 0 / 1.093 GB, free: 400 kB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.245e-05/0.7907, allocations: 50.05 kB / 1.093 GB, free: 360 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.7907, allocations: 6.125 kB / 1.093 GB, free: 360 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.7907, allocations: 0.75 kB / 1.093 GB, free: 360 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.7907, allocations: 4.844 kB / 1.093 GB, free: 356 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.311e-05/0.7908, allocations: 5.547 kB / 1.093 GB, free: 356 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.7908, allocations: 1.531 kB / 1.093 GB, free: 356 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.826e-05/0.7908, allocations: 0.9062 kB / 1.093 GB, free: 356 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.7908, allocations: 2.984 kB / 1.093 GB, free: 356 kB / 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 4.643e-05/0.7909, allocations: 112.4 kB / 1.094 GB, free: 236 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/0.7909, allocations: 2.328 kB / 1.094 GB, free: 236 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.711e-05/0.791, allocations: 130.5 kB / 1.094 GB, free: 100 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.595e-05/0.7911, allocations: 185.6 kB / 1.094 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-05/0.7911, allocations: 181.4 kB / 1.094 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.066e-05/0.7912, allocations: 182 kB / 1.094 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.7914, allocations: 407.8 kB / 1.095 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.499e-05/0.7914, allocations: 106.4 kB / 1.095 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.107e-05/0.7915, allocations: 107.2 kB / 1.095 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.466e-05/0.7915, allocations: 181.8 kB / 1.095 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-05/0.7916, allocations: 178.2 kB / 1.095 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.722e-05/0.7917, allocations: 181.8 kB / 1.095 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.467e-05/0.7918, allocations: 181.5 kB / 1.096 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.7919, allocations: 318.1 kB / 1.096 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.352e-05/0.792, allocations: 180.9 kB / 1.096 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.081e-05/0.7921, allocations: 178.4 kB / 1.096 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.7923, allocations: 114.2 kB / 1.096 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.348e-05/0.7923, allocations: 178.1 kB / 1.096 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.755e-05/0.7924, allocations: 109.7 kB / 1.097 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 5.164e-05/0.7924, allocations: 86.39 kB / 1.097 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7925, allocations: 0 / 1.097 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002766/0.7927, allocations: 16.69 kB / 1.097 GB, free: 12.95 MB / 0.8731 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.0005498/0.7933, allocations: 0.8373 MB / 1.097 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 9.023e-05/0.7934, allocations: 15.59 kB / 1.097 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.7934, allocations: 0 / 1.097 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.432e-06/0.7934, allocations: 0.7812 kB / 1.097 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/0.7938, allocations: 464.6 kB / 1.098 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.795, allocations: 1.318 MB / 1.099 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.7953, allocations: 0.6745 MB / 1.1 GB, free: 9.645 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.018e-05/0.7954, allocations: 8.625 kB / 1.1 GB, free: 9.645 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.478e-05/0.7954, allocations: 13.38 kB / 1.1 GB, free: 9.633 MB / 0.8731 GB Notification: Performance of SimCode: time 4.61e-07/0.7954, allocations: 0 / 1.1 GB, free: 9.633 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3497/1.145, allocations: 1.516 MB / 1.101 GB, free: 9.277 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.392/9.537, allocations: 16.06 kB / 1.101 GB, free: 9.27 MB / 0.8731 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