Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterProperties",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.008529/0.008529, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.002046/0.002046, allocations: 193.2 kB / 16.67 MB, free: 5.969 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.218/2.218, allocations: 390.3 MB / 0.6648 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 63.91 kB / 0.9504 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8044/0.806, allocations: 140.4 MB / 1.088 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.005226/0.8112, allocations: 4.419 MB / 1.092 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002901/0.8142, allocations: 2.709 MB / 1.094 GB, free: 164 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.345e-05/0.8143, allocations: 4.812 kB / 1.094 GB, free: 160 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002859/0.8146, allocations: 49.81 kB / 1.095 GB, free: 132 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002788/0.8149, allocations: 94.19 kB / 1.095 GB, free: 72 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001344/0.8162, allocations: 0.4989 MB / 1.095 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0003598/0.8166, allocations: 235.4 kB / 1.095 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 5.769e-05/0.8167, allocations: 10.48 kB / 1.095 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001192/0.8179, allocations: 414.1 kB / 1.096 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.818, allocations: 91.39 kB / 1.096 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.818, allocations: 7.125 kB / 1.096 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001161/0.8192, allocations: 496.2 kB / 1.096 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 7.418e-05/0.8193, allocations: 33.23 kB / 1.096 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.8194, allocations: 84.92 kB / 1.096 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0006792/0.8201, allocations: 346.9 kB / 1.097 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.8201, allocations: 0 / 1.097 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.273e-06/0.8201, allocations: 0.875 kB / 1.097 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.994e-06/0.8201, allocations: 4 kB / 1.097 GB, free: 15.16 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007728/0.8209, allocations: 0.504 MB / 1.097 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.821, allocations: 9.844 kB / 1.097 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.539e-05/0.821, allocations: 56.66 kB / 1.097 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.8212, allocations: 23.56 kB / 1.097 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.8215, allocations: 208.3 kB / 1.098 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.8215, allocations: 10.86 kB / 1.098 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.8215, allocations: 14.5 kB / 1.098 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004039/0.822, allocations: 256.4 kB / 1.098 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.822, allocations: 0 / 1.098 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/0.822, allocations: 7.188 kB / 1.098 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.89e-05/0.822, allocations: 6.125 kB / 1.098 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005933/0.8226, allocations: 442.4 kB / 1.098 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.8237, allocations: 1.003 MB / 1.099 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/0.824, allocations: 157.3 kB / 1.099 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.8242, allocations: 61.7 kB / 1.099 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001346/0.8255, allocations: 1.823 MB / 1.101 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.8256, allocations: 40.41 kB / 1.101 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 2.585e-06/0.8256, allocations: 11.92 kB / 1.101 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0003566/0.8259, allocations: 149 kB / 1.101 GB, free: 11 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.826, allocations: 53.41 kB / 1.101 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.8261, allocations: 172.7 kB / 1.102 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.8262, allocations: 31.08 kB / 1.102 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 8.977e-05/0.8263, allocations: 141.5 kB / 1.102 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.405e-05/0.8263, allocations: 56.06 kB / 1.102 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.386e-05/0.8264, allocations: 52.31 kB / 1.102 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.8265, allocations: 331.3 kB / 1.102 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.76e-05/0.8266, allocations: 34.95 kB / 1.102 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.8268, allocations: 144.7 kB / 1.102 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/0.827, allocations: 197.3 kB / 1.103 GB, free: 9.906 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.827, allocations: 1.094 kB / 1.103 GB, free: 9.906 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003535/0.8274, allocations: 220.1 kB / 1.103 GB, free: 9.805 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.8274, allocations: 7.281 kB / 1.103 GB, free: 9.805 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.8274, allocations: 8.203 kB / 1.103 GB, free: 9.801 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.8275, allocations: 9.344 kB / 1.103 GB, free: 9.797 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.8276, allocations: 54.28 kB / 1.103 GB, free: 9.789 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.8277, allocations: 6.062 kB / 1.103 GB, free: 9.789 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.8278, allocations: 24.88 kB / 1.103 GB, free: 9.773 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.8278, allocations: 11.55 kB / 1.103 GB, free: 9.773 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 0.000116/0.8279, allocations: 143.4 kB / 1.103 GB, free: 9.633 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.438e-05/0.828, allocations: 16.38 kB / 1.103 GB, free: 9.625 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003179/0.8283, allocations: 157.8 kB / 1.103 GB, free: 9.543 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.8283, allocations: 6.125 kB / 1.103 GB, free: 9.539 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.8284, allocations: 1.062 kB / 1.103 GB, free: 9.539 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.8284, allocations: 1.5 kB / 1.103 GB, free: 9.539 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002703/0.8286, allocations: 218.9 kB / 1.103 GB, free: 9.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.8286, allocations: 1.891 kB / 1.103 GB, free: 9.32 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.62e-05/0.8288, allocations: 25.19 kB / 1.103 GB, free: 9.316 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.8288, allocations: 1.062 kB / 1.103 GB, free: 9.316 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.8288, allocations: 10.75 kB / 1.103 GB, free: 9.309 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.8288, allocations: 5.609 kB / 1.103 GB, free: 9.305 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.8288, allocations: 0 / 1.103 GB, free: 9.305 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.829, allocations: 220.9 kB / 1.104 GB, free: 9.141 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.344e-05/0.8291, allocations: 105.1 kB / 1.104 GB, free: 9.035 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.8292, allocations: 6.172 kB / 1.104 GB, free: 9.031 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.8294, allocations: 20.09 kB / 1.104 GB, free: 9.023 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.612e-05/0.8294, allocations: 9.125 kB / 1.104 GB, free: 9.023 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/0.8295, allocations: 11.48 kB / 1.104 GB, free: 9.02 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 9.465e-05/0.8296, allocations: 123.7 kB / 1.104 GB, free: 8.93 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8296, allocations: 0 / 1.104 GB, free: 8.93 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000413/0.83, allocations: 79.75 kB / 1.104 GB, free: 8.91 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0007027/0.8307, allocations: 0.8284 MB / 1.105 GB, free: 8.188 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002526/0.831, allocations: 117.5 kB / 1.105 GB, free: 8.156 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.831, allocations: 0.5938 kB / 1.105 GB, free: 8.156 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 7.979e-05/0.8311, allocations: 47.12 kB / 1.105 GB, free: 8.145 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004719/0.8315, allocations: 57.97 kB / 1.105 GB, free: 8.121 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002363/0.8339, allocations: 2.035 MB / 1.107 GB, free: 6.434 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.8342, allocations: 0.7106 MB / 1.108 GB, free: 5.738 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001745/0.8344, allocations: 51.42 kB / 1.108 GB, free: 5.711 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.962e-05/0.8345, allocations: 49.42 kB / 1.108 GB, free: 5.68 MB / 0.8731 GB Notification: Performance of SimCode: time 3.21e-07/0.8345, allocations: 1.188 kB / 1.108 GB, free: 5.68 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02537/0.8599, allocations: 5.178 MB / 1.113 GB, free: 4.969 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.534/8.394, allocations: 8.234 kB / 1.113 GB, free: 4.965 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches