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: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 105.9 kB / 16.41 MB, free: 6.457 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.001862/0.001862, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.343/1.343, allocations: 222.9 MB / 241 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.213/2.213, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 63.91 kB / 0.9515 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8458/0.8471, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002245/0.8494, allocations: 1.268 MB / 1.09 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003266/0.8527, allocations: 2.92 MB / 1.093 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.767e-05/0.8528, allocations: 0 / 1.093 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.763e-05/0.8528, allocations: 5.984 kB / 1.093 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.673e-05/0.8529, allocations: 13.38 kB / 1.093 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004868/0.8534, allocations: 98.23 kB / 1.093 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.578e-05/0.8535, allocations: 35.53 kB / 1.093 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.778e-05/0.8535, allocations: 3.516 kB / 1.093 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004845/0.854, allocations: 155.7 kB / 1.093 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.922e-05/0.8541, allocations: 22.75 kB / 1.093 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.8541, allocations: 1.75 kB / 1.093 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/0.8542, allocations: 66.45 kB / 1.093 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.574e-05/0.8543, allocations: 7.75 kB / 1.093 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.178e-05/0.8543, allocations: 12.47 kB / 1.093 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.8545, allocations: 70.17 kB / 1.093 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.8545, allocations: 0 / 1.093 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8545, allocations: 0 / 1.093 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.8545, allocations: 0.8125 kB / 1.093 GB, free: 2.34 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.0003473/0.8549, allocations: 346.5 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.8549, allocations: 9.453 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.308e-05/0.855, allocations: 8.406 kB / 1.093 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.645e-05/0.855, allocations: 164.7 kB / 1.094 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.8551, allocations: 5.906 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.8551, allocations: 11.25 kB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.8552, allocations: 53.86 kB / 1.094 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.8552, allocations: 0.7031 kB / 1.094 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.8552, allocations: 5 kB / 1.094 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.8553, allocations: 0.9375 kB / 1.094 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.444e-05/0.8553, allocations: 19.69 kB / 1.094 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001468/0.8555, allocations: 171.2 kB / 1.094 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.043e-05/0.8556, allocations: 57.92 kB / 1.094 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.157e-05/0.8556, allocations: 21.27 kB / 1.094 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005728/0.8562, allocations: 0.5885 MB / 1.095 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.8562, allocations: 39.66 kB / 1.095 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.8562, allocations: 0 / 1.095 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0005321/0.8568, allocations: 301 kB / 1.095 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.8568, allocations: 52.22 kB / 1.095 GB, free: 448 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.306e-05/0.8569, allocations: 96.75 kB / 1.095 GB, free: 348 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.8569, allocations: 30.83 kB / 1.095 GB, free: 312 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.85e-05/0.8569, allocations: 93.47 kB / 1.095 GB, free: 216 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.654e-05/0.8569, allocations: 25.19 kB / 1.095 GB, free: 196 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.857, allocations: 28.02 kB / 1.095 GB, free: 172 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.306e-05/0.8571, allocations: 320.9 kB / 1.095 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.211e-05/0.8571, allocations: 14.47 kB / 1.096 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.897e-05/0.8572, allocations: 56 kB / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.079e-05/0.8573, allocations: 69.33 kB / 1.096 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.8573, allocations: 1.031 kB / 1.096 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001552/0.8574, allocations: 98.05 kB / 1.096 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.8575, allocations: 6.703 kB / 1.096 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.8575, allocations: 1.906 kB / 1.096 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.8575, allocations: 1.812 kB / 1.096 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.147e-05/0.8576, allocations: 23.09 kB / 1.096 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.8576, allocations: 2.266 kB / 1.096 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.237e-05/0.8576, allocations: 18.28 kB / 1.096 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.8577, allocations: 4.625 kB / 1.096 GB, free: 15.64 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.474e-05/0.8577, allocations: 117.4 kB / 1.096 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.851e-05/0.8578, allocations: 9.938 kB / 1.096 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.948e-05/0.8578, allocations: 10.3 kB / 1.096 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.8578, allocations: 0.875 kB / 1.096 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.8578, allocations: 1 kB / 1.096 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.8578, allocations: 4.5 kB / 1.096 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002287/0.8581, allocations: 174 kB / 1.096 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.8581, allocations: 0 / 1.096 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.117e-05/0.8582, allocations: 23.7 kB / 1.096 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.8582, allocations: 0.7188 kB / 1.096 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.8582, allocations: 1.219 kB / 1.096 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.8582, allocations: 4.609 kB / 1.096 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.8582, allocations: 1.469 kB / 1.096 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001856/0.8584, allocations: 170.7 kB / 1.096 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 4.796e-05/0.8585, allocations: 85.28 kB / 1.096 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.8585, allocations: 2.578 kB / 1.096 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.8586, allocations: 6.062 kB / 1.096 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.011e-05/0.8586, allocations: 7.953 kB / 1.096 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.8586, allocations: 6.891 kB / 1.096 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 3.419e-05/0.8587, allocations: 83.34 kB / 1.096 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8587, allocations: 0 / 1.096 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000241/0.8589, allocations: 14.69 kB / 1.096 GB, free: 14.96 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.0001319/0.8591, allocations: 99.22 kB / 1.097 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000127/0.8592, allocations: 42.91 kB / 1.097 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.8592, allocations: 0.8125 kB / 1.097 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.176e-05/0.8592, allocations: 24.53 kB / 1.097 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.8595, allocations: 5.016 kB / 1.097 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006115/0.8602, allocations: 354.1 kB / 1.097 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.8604, allocations: 0.6908 MB / 1.098 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.949e-05/0.8605, allocations: 12.56 kB / 1.098 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of SimCode: time 2.6e-07/0.8605, allocations: 0 / 1.098 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of Templates: time 0.002538/0.863, allocations: 0.779 MB / 1.098 GB, free: 13.77 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (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 & ./Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/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