Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",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.007535/0.007535, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001811/0.001811, allocations: 195.9 kB / 16.68 MB, free: 5.93 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.173/2.173, allocations: 390.3 MB / 0.6648 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 67.83 kB / 0.9504 GB, free: 8.215 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8524/0.8538, allocations: 140.4 MB / 1.087 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002122/0.8559, allocations: 1.261 MB / 1.089 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003125/0.8591, allocations: 2.928 MB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.302e-05/0.8591, allocations: 0 / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.662e-05/0.8591, allocations: 4.734 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.18e-05/0.8592, allocations: 9.734 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004439/0.8596, allocations: 98.25 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.383e-05/0.8597, allocations: 35.91 kB / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.599e-05/0.8598, allocations: 6.453 kB / 1.092 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004309/0.8602, allocations: 156.8 kB / 1.092 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.415e-05/0.8603, allocations: 18.28 kB / 1.092 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.8603, allocations: 1.906 kB / 1.092 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.8604, allocations: 69.91 kB / 1.092 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.8605, allocations: 3.734 kB / 1.092 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.696e-05/0.8605, allocations: 17.36 kB / 1.092 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.8607, allocations: 63.72 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.8607, allocations: 0.6562 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8607, allocations: 0 / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.8607, allocations: 5 kB / 1.092 GB, free: 2.105 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000347/0.8611, allocations: 350 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.8611, allocations: 9.75 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.957e-05/0.8612, allocations: 37.72 kB / 1.092 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.093e-05/0.8612, allocations: 3 kB / 1.092 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.064e-05/0.8613, allocations: 162.8 kB / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.8613, allocations: 6.156 kB / 1.093 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.8613, allocations: 4.516 kB / 1.093 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.8614, allocations: 65.48 kB / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.8615, allocations: 0 / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.8615, allocations: 1.422 kB / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.8615, allocations: 1.312 kB / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.482e-05/0.8615, allocations: 20.03 kB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001267/0.8617, allocations: 174.2 kB / 1.093 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.738e-05/0.8618, allocations: 53.62 kB / 1.093 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.298e-05/0.8618, allocations: 26.48 kB / 1.093 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005546/0.8624, allocations: 0.5864 MB / 1.093 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.8624, allocations: 36.98 kB / 1.093 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.8624, allocations: 0 / 1.093 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.000528/0.8629, allocations: 304.6 kB / 1.094 GB, free: 224 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.98e-05/0.863, allocations: 56.47 kB / 1.094 GB, free: 156 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.093e-05/0.863, allocations: 105 kB / 1.094 GB, free: 48 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/0.863, allocations: 25.7 kB / 1.094 GB, free: 16 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.061e-05/0.8631, allocations: 90.59 kB / 1.094 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.8631, allocations: 25.61 kB / 1.094 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/0.8632, allocations: 27 kB / 1.094 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.8633, allocations: 313.7 kB / 1.094 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.313e-05/0.8633, allocations: 18.8 kB / 1.094 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.455e-05/0.8634, allocations: 52.48 kB / 1.094 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.164e-05/0.8635, allocations: 76.2 kB / 1.095 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.8635, allocations: 4.875 kB / 1.095 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001374/0.8636, allocations: 90 kB / 1.095 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.8636, allocations: 6.188 kB / 1.095 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.8637, allocations: 1.703 kB / 1.095 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.8637, allocations: 2.531 kB / 1.095 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.142e-05/0.8638, allocations: 26.88 kB / 1.095 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.8638, allocations: 2.312 kB / 1.095 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.042e-05/0.8638, allocations: 10.27 kB / 1.095 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.8638, allocations: 4.609 kB / 1.095 GB, free: 15.37 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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.648e-05/0.8639, allocations: 121.1 kB / 1.095 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.216e-05/0.864, allocations: 7.344 kB / 1.095 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.787e-05/0.864, allocations: 8.719 kB / 1.095 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.864, allocations: 1.219 kB / 1.095 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.864, allocations: 1.156 kB / 1.095 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.864, allocations: 4.734 kB / 1.095 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/0.8643, allocations: 172.7 kB / 1.095 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.8643, allocations: 4.703 kB / 1.095 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.064e-05/0.8644, allocations: 14.94 kB / 1.095 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.8644, allocations: 1.422 kB / 1.095 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.8644, allocations: 4.938 kB / 1.095 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.8644, allocations: 5.391 kB / 1.095 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.8644, allocations: 4.562 kB / 1.095 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002052/0.8646, allocations: 175 kB / 1.095 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.8647, allocations: 86.12 kB / 1.095 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.8647, allocations: 5.516 kB / 1.095 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.8648, allocations: 7.562 kB / 1.095 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.452e-05/0.8649, allocations: 8.422 kB / 1.095 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.8649, allocations: 1.594 kB / 1.095 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.094e-05/0.8649, allocations: 79.2 kB / 1.095 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8649, allocations: 0 / 1.095 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002397/0.8652, allocations: 14.92 kB / 1.095 GB, free: 14.68 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0004427/0.8656, allocations: 0.7096 MB / 1.096 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001358/0.8658, allocations: 43.88 kB / 1.096 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.8658, allocations: 0 / 1.096 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.024e-05/0.8658, allocations: 16.55 kB / 1.096 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.8661, allocations: 12.42 kB / 1.096 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.8676, allocations: 1.534 MB / 1.098 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002368/0.8678, allocations: 0.6828 MB / 1.098 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.507e-05/0.8679, allocations: 4.969 kB / 1.098 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.278e-05/0.8679, allocations: 15.89 kB / 1.098 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of SimCode: time 2.8e-07/0.868, allocations: 5.031 kB / 1.098 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02016/0.8881, allocations: 1.675 MB / 1.1 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.353/8.241, allocations: 1.094 kB / 1.1 GB, free: 11.41 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches