Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.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: translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_10_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_10_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 108 kB / 15.61 MB, free: 128 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.001561/0.001561, allocations: 191.9 kB / 16.53 MB, free: 6.668 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.391/1.391, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.626/2.626, allocations: 437 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 59.91 kB / 0.8692 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6939/0.6953, allocations: 151.6 MB / 1.017 GB, free: 2.652 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.0025/0.6979, allocations: 1.328 MB / 1.019 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1464/0.8443, allocations: 148.1 MB / 1.163 GB, free: 12.64 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.844e-05/0.8444, allocations: 0 / 1.163 GB, free: 12.64 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.903e-05/0.8445, allocations: 3.938 kB / 1.163 GB, free: 12.64 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.8446, allocations: 15.91 kB / 1.163 GB, free: 12.62 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.8456, allocations: 334.6 kB / 1.164 GB, free: 12.3 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.8458, allocations: 67.75 kB / 1.164 GB, free: 12.23 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.106e-05/0.8458, allocations: 4 kB / 1.164 GB, free: 12.23 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.407e-05/0.8459, allocations: 35.91 kB / 1.164 GB, free: 12.19 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.846, allocations: 35.83 kB / 1.164 GB, free: 12.16 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.846, allocations: 0 / 1.164 GB, free: 12.16 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008794/0.8469, allocations: 406.8 kB / 1.164 GB, free: 11.76 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.945e-05/0.847, allocations: 15.98 kB / 1.164 GB, free: 11.74 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.521e-05/0.8471, allocations: 31.86 kB / 1.164 GB, free: 11.71 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003762/0.8474, allocations: 157.8 kB / 1.164 GB, free: 11.56 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.8475, allocations: 0 / 1.164 GB, free: 11.56 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.854e-06/0.8475, allocations: 0 / 1.164 GB, free: 11.56 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.8475, allocations: 0 / 1.164 GB, free: 11.56 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004678/0.8479, allocations: 391.3 kB / 1.165 GB, free: 11.13 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.848, allocations: 8.031 kB / 1.165 GB, free: 11.12 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004382/0.8484, allocations: 44.8 kB / 1.165 GB, free: 11.08 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.8486, allocations: 164.3 kB / 1.165 GB, free: 10.88 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.8486, allocations: 11.94 kB / 1.165 GB, free: 10.87 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.6e-05/0.8486, allocations: 8 kB / 1.165 GB, free: 10.86 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.8488, allocations: 73.64 kB / 1.165 GB, free: 10.78 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.8488, allocations: 3.938 kB / 1.165 GB, free: 10.78 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.8488, allocations: 8 kB / 1.165 GB, free: 10.77 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.8488, allocations: 0 / 1.165 GB, free: 10.77 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.515e-05/0.8489, allocations: 43.95 kB / 1.165 GB, free: 10.73 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001972/0.8492, allocations: 193.4 kB / 1.165 GB, free: 10.49 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.8493, allocations: 98.67 kB / 1.165 GB, free: 10.38 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.781e-05/0.8494, allocations: 24.84 kB / 1.165 GB, free: 10.36 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002407/0.8497, allocations: 178.2 kB / 1.165 GB, free: 10.14 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.603e-05/0.8498, allocations: 38.55 kB / 1.165 GB, free: 10.1 MB / 0.92 GB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.8498, allocations: 0 / 1.165 GB, free: 10.1 MB / 0.92 GB Notification: Performance of matching and sorting (n=19): time 0.001422/0.8512, allocations: 0.5471 MB / 1.166 GB, free: 9.5 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.8513, allocations: 59.41 kB / 1.166 GB, free: 9.43 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.323e-05/0.8513, allocations: 101.8 kB / 1.166 GB, free: 9.32 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.8514, allocations: 29.7 kB / 1.166 GB, free: 9.285 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.01e-05/0.8514, allocations: 80.52 kB / 1.166 GB, free: 9.203 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.946e-05/0.8515, allocations: 71 kB / 1.166 GB, free: 9.133 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.934e-05/0.8515, allocations: 41.7 kB / 1.166 GB, free: 9.086 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.8517, allocations: 318.8 kB / 1.167 GB, free: 8.766 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.835e-05/0.8517, allocations: 32.11 kB / 1.167 GB, free: 8.734 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.08e-05/0.8518, allocations: 77.23 kB / 1.167 GB, free: 8.648 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.852, allocations: 115.4 kB / 1.167 GB, free: 8.523 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.852, allocations: 3.984 kB / 1.167 GB, free: 8.52 MB / 0.92 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002265/0.8523, allocations: 153.5 kB / 1.167 GB, free: 8.363 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.8523, allocations: 5.719 kB / 1.167 GB, free: 8.359 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.8523, allocations: 4 kB / 1.167 GB, free: 8.355 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.8523, allocations: 7.938 kB / 1.167 GB, free: 8.348 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.8525, allocations: 39.98 kB / 1.167 GB, free: 8.309 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.8525, allocations: 3.984 kB / 1.167 GB, free: 8.305 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.134e-05/0.8526, allocations: 11.94 kB / 1.167 GB, free: 8.293 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.8526, allocations: 4 kB / 1.167 GB, free: 8.289 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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 9.223e-05/0.8527, allocations: 121.8 kB / 1.167 GB, free: 8.16 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.8527, allocations: 11.91 kB / 1.167 GB, free: 8.148 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.147e-05/0.8528, allocations: 16.44 kB / 1.167 GB, free: 8.133 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.8528, allocations: 0 / 1.167 GB, free: 8.133 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.8528, allocations: 4 kB / 1.167 GB, free: 8.129 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.8528, allocations: 11.92 kB / 1.167 GB, free: 8.117 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.853, allocations: 185.6 kB / 1.167 GB, free: 7.887 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.853, allocations: 0 / 1.167 GB, free: 7.887 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/0.8532, allocations: 47.86 kB / 1.167 GB, free: 7.84 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.8532, allocations: 0 / 1.167 GB, free: 7.84 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.8532, allocations: 4 kB / 1.167 GB, free: 7.836 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.8532, allocations: 128 / 1.167 GB, free: 7.836 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.8532, allocations: 7.938 kB / 1.167 GB, free: 7.828 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000351/0.8536, allocations: 214.4 kB / 1.168 GB, free: 7.602 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 8.626e-05/0.8537, allocations: 93 kB / 1.168 GB, free: 7.492 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.8537, allocations: 4.062 kB / 1.168 GB, free: 7.488 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.8539, allocations: 8 kB / 1.168 GB, free: 7.48 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.8539, allocations: 15.91 kB / 1.168 GB, free: 7.465 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.8539, allocations: 4 kB / 1.168 GB, free: 7.461 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.909e-05/0.854, allocations: 87.22 kB / 1.168 GB, free: 7.375 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.854, allocations: 0 / 1.168 GB, free: 7.375 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000236/0.8542, allocations: 28.09 kB / 1.168 GB, free: 7.348 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,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 (19): * Single equations (assignments): 19 * 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.0001702/0.8544, allocations: 107.2 kB / 1.168 GB, free: 7.234 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002538/0.8546, allocations: 119.8 kB / 1.168 GB, free: 7.117 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.8547, allocations: 0 / 1.168 GB, free: 7.117 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.667e-05/0.8547, allocations: 49.64 kB / 1.168 GB, free: 7.07 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.8551, allocations: 15.98 kB / 1.168 GB, free: 7.055 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009236/0.856, allocations: 0.5128 MB / 1.169 GB, free: 6.516 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.8563, allocations: 0.6969 MB / 1.169 GB, free: 5.793 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001361/0.8564, allocations: 24.62 kB / 1.169 GB, free: 5.77 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.318e-05/0.8565, allocations: 15.44 kB / 1.169 GB, free: 5.754 MB / 0.92 GB Notification: Performance of SimCode: time 4.1e-07/0.8565, allocations: 0 / 1.169 GB, free: 5.754 MB / 0.92 GB Notification: Performance of Templates: time 0.00395/0.8605, allocations: 1.117 MB / 1.171 GB, free: 4.645 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_10_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches