Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0009389/0.0009441, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001094/0.001094, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.039/3.039, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004779/0.0004781, allocations: 6.344 kB / 0.9021 GB, free: 36.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3879/0.3884, allocations: 159.6 MB / 1.058 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001635/0.3901, allocations: 1.041 MB / 1.059 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.157/0.5472, allocations: 134.5 MB / 1.19 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.142e-05/0.5473, allocations: 4 kB / 1.19 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.374e-05/0.5474, allocations: 3.984 kB / 1.19 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.5475, allocations: 19.84 kB / 1.19 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008603/0.5484, allocations: 223 kB / 1.191 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.5485, allocations: 71.75 kB / 1.191 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.778e-05/0.5485, allocations: 7.984 kB / 1.191 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.341e-05/0.5486, allocations: 27.92 kB / 1.191 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.5487, allocations: 31.89 kB / 1.191 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.5487, allocations: 4 kB / 1.191 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006545/0.5494, allocations: 259.3 kB / 1.191 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.78e-05/0.5495, allocations: 11.98 kB / 1.191 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.353e-05/0.5495, allocations: 29.7 kB / 1.191 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.5497, allocations: 112 kB / 1.191 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.5497, allocations: 0 / 1.191 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5497, allocations: 0 / 1.191 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.5497, allocations: 0 / 1.191 GB, free: 12.66 MB / 0.9512 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.0004177/0.5502, allocations: 371.2 kB / 1.191 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.5502, allocations: 12.03 kB / 1.191 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004014/0.5506, allocations: 39.86 kB / 1.192 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.612e-05/0.5507, allocations: 171 kB / 1.192 GB, free: 12 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.5508, allocations: 8 kB / 1.192 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.844e-05/0.5508, allocations: 8 kB / 1.192 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.551, allocations: 73.66 kB / 1.192 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.551, allocations: 0 / 1.192 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.551, allocations: 8 kB / 1.192 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.551, allocations: 0 / 1.192 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.827e-05/0.5511, allocations: 51.89 kB / 1.192 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001936/0.5513, allocations: 185.5 kB / 1.192 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.5515, allocations: 98.72 kB / 1.192 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.196e-05/0.5515, allocations: 32.84 kB / 1.192 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002198/0.5518, allocations: 182.1 kB / 1.192 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.5518, allocations: 34.5 kB / 1.192 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=12): time 1.173e-06/0.5518, allocations: 0 / 1.192 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of matching and sorting (n=19): time 0.001226/0.553, allocations: 0.5448 MB / 1.193 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.5531, allocations: 51.41 kB / 1.193 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.911e-05/0.5531, allocations: 101.9 kB / 1.193 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.5532, allocations: 29.7 kB / 1.193 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 2.67e-05/0.5532, allocations: 84.52 kB / 1.193 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.161e-05/0.5533, allocations: 67 kB / 1.193 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.156e-06/0.5533, allocations: 4 kB / 1.193 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.5534, allocations: 318.8 kB / 1.193 GB, free: 9.934 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.114e-05/0.5535, allocations: 39.91 kB / 1.194 GB, free: 9.895 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.746e-05/0.5536, allocations: 72.95 kB / 1.194 GB, free: 9.812 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.839e-05/0.5536, allocations: 47.98 kB / 1.194 GB, free: 9.766 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.5537, allocations: 0 / 1.194 GB, free: 9.766 MB / 0.9512 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002152/0.5539, allocations: 149.5 kB / 1.194 GB, free: 9.613 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.5539, allocations: 4 kB / 1.194 GB, free: 9.609 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.5539, allocations: 0 / 1.194 GB, free: 9.609 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.5539, allocations: 4 kB / 1.194 GB, free: 9.605 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.5541, allocations: 43.92 kB / 1.194 GB, free: 9.562 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.5541, allocations: 0 / 1.194 GB, free: 9.562 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.261e-05/0.5542, allocations: 8 kB / 1.194 GB, free: 9.555 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.5542, allocations: 8 kB / 1.194 GB, free: 9.547 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.693e-05/0.5543, allocations: 129.7 kB / 1.194 GB, free: 9.41 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.793e-05/0.5543, allocations: 7.906 kB / 1.194 GB, free: 9.402 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.936e-05/0.5544, allocations: 24.42 kB / 1.194 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.5544, allocations: 0 / 1.194 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.5544, allocations: 0 / 1.194 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.5544, allocations: 0 / 1.194 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.5545, allocations: 193.6 kB / 1.194 GB, free: 9.145 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.5546, allocations: 0 / 1.194 GB, free: 9.145 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001957/0.5548, allocations: 51.91 kB / 1.194 GB, free: 9.094 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.5548, allocations: 3.938 kB / 1.194 GB, free: 9.09 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.5548, allocations: 4.125 kB / 1.194 GB, free: 9.086 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.5548, allocations: 4 kB / 1.194 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5548, allocations: 0 / 1.194 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003153/0.5551, allocations: 206.5 kB / 1.194 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.489e-05/0.5552, allocations: 92.95 kB / 1.195 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.5552, allocations: 8.047 kB / 1.195 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.5553, allocations: 12 kB / 1.195 GB, free: 8.734 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-05/0.5554, allocations: 11.98 kB / 1.195 GB, free: 8.723 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.5554, allocations: 4 kB / 1.195 GB, free: 8.719 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.903e-05/0.5554, allocations: 79.28 kB / 1.195 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5554, allocations: 3.938 kB / 1.195 GB, free: 8.637 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002223/0.5557, allocations: 28 kB / 1.195 GB, free: 8.609 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001507/0.5558, allocations: 119.2 kB / 1.195 GB, free: 8.48 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000207/0.556, allocations: 109 kB / 1.195 GB, free: 8.375 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.5561, allocations: 0 / 1.195 GB, free: 8.375 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 6.722e-05/0.5561, allocations: 47.92 kB / 1.195 GB, free: 8.328 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.5564, allocations: 16 kB / 1.195 GB, free: 8.312 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008704/0.5573, allocations: 0.6124 MB / 1.196 GB, free: 7.672 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.5575, allocations: 0.6972 MB / 1.196 GB, free: 6.949 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001368/0.5577, allocations: 28.62 kB / 1.196 GB, free: 6.918 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.731e-05/0.5577, allocations: 11.44 kB / 1.196 GB, free: 6.906 MB / 0.9512 GB Notification: Performance of SimCode: time 2.71e-07/0.5577, allocations: 4 kB / 1.196 GB, free: 6.902 MB / 0.9512 GB Notification: Performance of Templates: time 0.003672/0.5614, allocations: 1.009 MB / 1.197 GB, free: 5.898 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches