Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_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.001227/0.001227, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001237/0.001237, allocations: 191 kB / 16.25 MB, free: 6.637 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.178/1.178, allocations: 222.9 MB / 239.9 MB, free: 4.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.249/2.249, allocations: 437 MB / 0.7101 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001104, allocations: 63.91 kB / 0.8688 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4332/0.4344, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004208/0.4386, allocations: 3.762 MB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.000163/0.4388, allocations: 171.4 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.666e-05/0.4388, allocations: 0 / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.632e-05/0.4389, allocations: 0 / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.436e-05/0.439, allocations: 15.91 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002773/0.4392, allocations: 71.77 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.304e-05/0.4393, allocations: 31.91 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.223e-05/0.4394, allocations: 11.98 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.988e-05/0.4394, allocations: 8 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.406e-05/0.4394, allocations: 27.84 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.217e-06/0.4395, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004222/0.4399, allocations: 171.6 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.248e-05/0.4399, allocations: 7.984 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.257e-05/0.44, allocations: 15.92 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.585e-05/0.4401, allocations: 46.14 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.4401, allocations: 4 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4401, allocations: 4 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.4401, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 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.000284/0.4404, allocations: 331.5 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.4404, allocations: 8.031 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.873e-05/0.4404, allocations: 30.75 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.867e-05/0.4405, allocations: 12.83 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.562e-05/0.4406, allocations: 160.4 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.891e-05/0.4406, allocations: 30.27 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-06/0.4406, allocations: 16.06 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.4407, allocations: 45.62 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.4407, allocations: 0 / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.4408, allocations: 0 / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/0.4408, allocations: 7.938 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.467e-05/0.4408, allocations: 11.98 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003378/0.4412, allocations: 334 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 2.9e-05/0.4412, allocations: 22.58 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.188e-05/0.4412, allocations: 4.859 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.74e-05/0.4413, allocations: 89.16 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.4413, allocations: 34.5 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.4413, allocations: 0 / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001109/0.4414, allocations: 33.7 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.4415, allocations: 51.41 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.089e-05/0.4415, allocations: 106 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.4416, allocations: 25.7 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.337e-05/0.4416, allocations: 92.05 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.831e-06/0.4416, allocations: 7.844 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.558e-05/0.4416, allocations: 17.7 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.062e-05/0.4417, allocations: 314.8 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.588e-05/0.4417, allocations: 8 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.911e-05/0.4417, allocations: 17.72 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.842e-05/0.4418, allocations: 25.64 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.4418, allocations: 0 / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.211e-05/0.4419, allocations: 53.62 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.487e-06/0.4419, allocations: 4 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.4419, allocations: 0 / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.4419, allocations: 0 / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.673e-05/0.4419, allocations: 12.06 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.4419, allocations: 0 / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.457e-05/0.442, allocations: 288 / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.442, allocations: 0 / 1.023 GB, free: 12.26 MB / 0.7794 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 5.411e-05/0.442, allocations: 113.8 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/0.4421, allocations: 3.984 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.63e-05/0.4421, allocations: 136.7 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.16e-05/0.4422, allocations: 180.3 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.212e-05/0.4422, allocations: 184.2 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.307e-05/0.4423, allocations: 184.2 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.4425, allocations: 409.2 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.683e-05/0.4425, allocations: 104.9 kB / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.191e-05/0.4425, allocations: 101 kB / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.096e-05/0.4426, allocations: 180.3 kB / 1.024 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.197e-05/0.4426, allocations: 184.2 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.932e-05/0.4426, allocations: 184.2 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.914e-05/0.4427, allocations: 184.2 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.296e-05/0.4428, allocations: 307.7 kB / 1.025 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.836e-05/0.4428, allocations: 186.1 kB / 1.025 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.199e-05/0.4429, allocations: 184.2 kB / 1.026 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.443, allocations: 108.9 kB / 1.026 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.4431, allocations: 180.3 kB / 1.026 GB, free: 9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.473e-05/0.4431, allocations: 108.9 kB / 1.026 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.639e-05/0.4431, allocations: 87.28 kB / 1.026 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.4432, allocations: 0 / 1.026 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002052/0.4434, allocations: 19.94 kB / 1.026 GB, free: 8.781 MB / 0.7794 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.00035/0.4437, allocations: 0.836 MB / 1.027 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.51e-05/0.4438, allocations: 15.92 kB / 1.027 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4438, allocations: 0 / 1.027 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.4438, allocations: 0 / 1.027 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.4441, allocations: 462.3 kB / 1.027 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007217/0.4448, allocations: 1.313 MB / 1.029 GB, free: 6.051 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001632/0.445, allocations: 0.6768 MB / 1.029 GB, free: 5.348 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.35e-05/0.445, allocations: 4 kB / 1.029 GB, free: 5.344 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.779e-05/0.4451, allocations: 11.44 kB / 1.029 GB, free: 5.332 MB / 0.7794 GB Notification: Performance of SimCode: time 2.01e-07/0.4451, allocations: 0 / 1.029 GB, free: 5.332 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.91/3.355, allocations: 1.424 MB / 1.031 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002161/3.356, allocations: 228.1 kB / 1.031 GB, free: 3.82 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.756/6.112, allocations: 0 / 1.031 GB, free: 3.82 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches