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.001084/0.001085, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 191.6 kB / 16.53 MB, free: 6.391 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.346/1.346, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.292/2.292, allocations: 390.3 MB / 0.6647 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001328, allocations: 63.89 kB / 0.8126 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.522/0.5233, allocations: 140.4 MB / 0.9497 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001977/0.5254, allocations: 1.255 MB / 0.9509 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002698/0.5281, allocations: 2.935 MB / 0.9538 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.919e-05/0.5281, allocations: 0 / 0.9538 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.42e-05/0.5281, allocations: 5.281 kB / 0.9538 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.984e-05/0.5282, allocations: 3.984 kB / 0.9538 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004143/0.5286, allocations: 104.3 kB / 0.9539 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.706e-05/0.5287, allocations: 34.39 kB / 0.9539 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.619e-05/0.5287, allocations: 6.5 kB / 0.9539 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000407/0.5291, allocations: 157.4 kB / 0.9541 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.469e-05/0.5292, allocations: 13.77 kB / 0.9541 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.5292, allocations: 2.906 kB / 0.9541 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.5293, allocations: 68.12 kB / 0.9542 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.513e-05/0.5294, allocations: 10.36 kB / 0.9542 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.844e-05/0.5294, allocations: 10.34 kB / 0.9542 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.5296, allocations: 70.05 kB / 0.9543 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5296, allocations: 1.219 kB / 0.9543 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5296, allocations: 7.922 kB / 0.9543 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.5296, allocations: 0 / 0.9543 GB, free: 5.52 MB / 0.7169 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.0003267/0.5299, allocations: 342.3 kB / 0.9546 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.53, allocations: 8.719 kB / 0.9546 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.724e-05/0.53, allocations: 41.31 kB / 0.9546 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/0.53, allocations: 3.25 kB / 0.9546 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.243e-05/0.5301, allocations: 165.6 kB / 0.9548 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.5301, allocations: 5.656 kB / 0.9548 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.5301, allocations: 11.72 kB / 0.9548 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.5303, allocations: 58.02 kB / 0.9549 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.221e-06/0.5303, allocations: 0 / 0.9549 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.5303, allocations: 5.25 kB / 0.9549 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.5303, allocations: 1.25 kB / 0.9549 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.004e-05/0.5304, allocations: 13.64 kB / 0.9549 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001252/0.5305, allocations: 174.2 kB / 0.9551 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.746e-05/0.5306, allocations: 51.47 kB / 0.9551 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.866e-05/0.5306, allocations: 16.58 kB / 0.9551 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005447/0.5312, allocations: 0.5934 MB / 0.9557 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.5312, allocations: 35.75 kB / 0.9557 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.5312, allocations: 0 / 0.9557 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0005053/0.5317, allocations: 300.7 kB / 0.956 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.934e-05/0.5317, allocations: 52.62 kB / 0.9561 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.588e-05/0.5318, allocations: 104.9 kB / 0.9562 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.5318, allocations: 30.83 kB / 0.9562 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.519e-05/0.5318, allocations: 89.11 kB / 0.9563 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.417e-05/0.5319, allocations: 19.44 kB / 0.9563 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.5319, allocations: 32.92 kB / 0.9563 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.031e-05/0.532, allocations: 317.2 kB / 0.9566 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.78e-05/0.532, allocations: 14.83 kB / 0.9567 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.585e-05/0.532, allocations: 61.95 kB / 0.9567 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.192e-05/0.5321, allocations: 73.56 kB / 0.9568 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.5321, allocations: 1.531 kB / 0.9568 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001212/0.5322, allocations: 90.02 kB / 0.9569 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.5323, allocations: 6.125 kB / 0.9569 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.5323, allocations: 1.188 kB / 0.9569 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.5323, allocations: 2.531 kB / 0.9569 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.605e-05/0.5324, allocations: 32.73 kB / 0.9569 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.5324, allocations: 2.375 kB / 0.9569 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.738e-05/0.5324, allocations: 9.406 kB / 0.9569 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.5324, allocations: 4.281 kB / 0.9569 GB, free: 2.695 MB / 0.7169 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 4.999e-05/0.5325, allocations: 116.5 kB / 0.957 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.5325, allocations: 6.406 kB / 0.9571 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.594e-05/0.5326, allocations: 13.36 kB / 0.9571 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.5326, allocations: 1.125 kB / 0.9571 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.5326, allocations: 4 kB / 0.9571 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.5326, allocations: 3.938 kB / 0.9571 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.5328, allocations: 169.5 kB / 0.9572 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.5328, allocations: 1.062 kB / 0.9572 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.625e-05/0.5329, allocations: 21.53 kB / 0.9573 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.5329, allocations: 0 / 0.9573 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.5329, allocations: 1.281 kB / 0.9573 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.5329, allocations: 3.984 kB / 0.9573 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.5329, allocations: 1.312 kB / 0.9573 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.5331, allocations: 176.7 kB / 0.9574 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.829e-05/0.5331, allocations: 83.3 kB / 0.9575 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.5331, allocations: 1.25 kB / 0.9575 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.5332, allocations: 6.688 kB / 0.9575 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.405e-05/0.5332, allocations: 9.359 kB / 0.9575 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.5333, allocations: 2.938 kB / 0.9575 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.62e-05/0.5333, allocations: 77.09 kB / 0.9576 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5333, allocations: 1.438 kB / 0.9576 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002459/0.5335, allocations: 13.38 kB / 0.9576 GB, free: 1.988 MB / 0.7169 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.0002536/0.5338, allocations: 0.7147 MB / 0.9583 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.719e-05/0.5339, allocations: 51.28 kB / 0.9584 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5339, allocations: 4.188 kB / 0.9584 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.206e-05/0.5339, allocations: 22.5 kB / 0.9584 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.5342, allocations: 12.56 kB / 0.9584 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.5353, allocations: 1.523 MB / 0.9599 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.5355, allocations: 0.6815 MB / 0.9606 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.007e-05/0.5356, allocations: 19.17 kB / 0.9606 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.628e-05/0.5356, allocations: 19.02 kB / 0.9606 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.5356, allocations: 0 / 0.9606 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01688/0.5525, allocations: 1.626 MB / 0.9622 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.424/7.976, allocations: 7.719 kB / 0.9622 GB, free: 14.15 MB / 0.7325 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