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.001582/0.001582, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0024/0.0024, allocations: 192.5 kB / 16.14 MB, free: 6.711 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.452/1.452, allocations: 222.9 MB / 239.8 MB, free: 4.582 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.577/2.577, allocations: 437 MB / 0.7099 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 59.91 kB / 0.8685 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7819/0.784, allocations: 151.6 MB / 1.017 GB, free: 2.82 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.003073/0.7871, allocations: 1.399 MB / 1.018 GB, free: 1.414 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1593/0.9464, allocations: 145.8 MB / 1.16 GB, free: 15.05 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.243e-05/0.9465, allocations: 0 / 1.16 GB, free: 15.05 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.52e-05/0.9466, allocations: 3.984 kB / 1.16 GB, free: 15.05 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.9467, allocations: 7.938 kB / 1.16 GB, free: 15.04 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008718/0.9476, allocations: 302.8 kB / 1.161 GB, free: 14.74 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.9477, allocations: 91.67 kB / 1.161 GB, free: 14.65 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.918e-05/0.9478, allocations: 0 / 1.161 GB, free: 14.65 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.257e-05/0.9478, allocations: 31.91 kB / 1.161 GB, free: 14.62 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.9479, allocations: 35.89 kB / 1.161 GB, free: 14.59 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.9479, allocations: 4 kB / 1.161 GB, free: 14.58 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008808/0.9488, allocations: 498.7 kB / 1.161 GB, free: 14.09 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.547e-05/0.9489, allocations: 15.98 kB / 1.161 GB, free: 14.08 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.54e-05/0.949, allocations: 31.84 kB / 1.161 GB, free: 14.05 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003567/0.9493, allocations: 189.4 kB / 1.162 GB, free: 13.86 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.9493, allocations: 0 / 1.162 GB, free: 13.86 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.332e-06/0.9493, allocations: 0 / 1.162 GB, free: 13.86 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.9493, allocations: 0 / 1.162 GB, free: 13.86 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.0004788/0.9498, allocations: 387.5 kB / 1.162 GB, free: 13.44 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.9499, allocations: 8.031 kB / 1.162 GB, free: 13.43 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004214/0.9503, allocations: 44.8 kB / 1.162 GB, free: 13.39 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.852e-05/0.9504, allocations: 168.3 kB / 1.162 GB, free: 13.18 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.9504, allocations: 7.938 kB / 1.162 GB, free: 13.18 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.9505, allocations: 8 kB / 1.162 GB, free: 13.17 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.9506, allocations: 81.58 kB / 1.162 GB, free: 13.08 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.9507, allocations: 0 / 1.162 GB, free: 13.08 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.9507, allocations: 8 kB / 1.162 GB, free: 13.07 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.9507, allocations: 3.938 kB / 1.162 GB, free: 13.07 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.345e-05/0.9508, allocations: 43.95 kB / 1.162 GB, free: 13.03 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001989/0.951, allocations: 193.4 kB / 1.162 GB, free: 12.79 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.9512, allocations: 94.62 kB / 1.163 GB, free: 12.69 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.512e-05/0.9513, allocations: 28.84 kB / 1.163 GB, free: 12.66 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002345/0.9515, allocations: 174.2 kB / 1.163 GB, free: 12.45 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.9515, allocations: 38.56 kB / 1.163 GB, free: 12.4 MB / 0.92 GB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.9516, allocations: 0 / 1.163 GB, free: 12.4 MB / 0.92 GB Notification: Performance of matching and sorting (n=19): time 0.001335/0.9529, allocations: 0.5507 MB / 1.163 GB, free: 11.8 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.953, allocations: 59.41 kB / 1.163 GB, free: 11.73 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.272e-05/0.953, allocations: 101.8 kB / 1.163 GB, free: 11.62 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.953, allocations: 29.7 kB / 1.163 GB, free: 11.59 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.9531, allocations: 84.45 kB / 1.164 GB, free: 11.5 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.135e-05/0.9532, allocations: 70.98 kB / 1.164 GB, free: 11.43 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-05/0.9532, allocations: 41.7 kB / 1.164 GB, free: 11.38 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.9533, allocations: 314.8 kB / 1.164 GB, free: 11.07 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.575e-05/0.9534, allocations: 40.09 kB / 1.164 GB, free: 11.03 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.503e-05/0.9535, allocations: 73.23 kB / 1.164 GB, free: 10.95 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.9537, allocations: 111.4 kB / 1.164 GB, free: 10.82 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.9537, allocations: 0 / 1.164 GB, free: 10.82 MB / 0.92 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002152/0.9539, allocations: 161.4 kB / 1.164 GB, free: 10.66 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.9539, allocations: 4 kB / 1.164 GB, free: 10.66 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.9539, allocations: 4 kB / 1.164 GB, free: 10.65 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.954, allocations: 4 kB / 1.164 GB, free: 10.65 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.9541, allocations: 39.92 kB / 1.164 GB, free: 10.61 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.9542, allocations: 3.938 kB / 1.164 GB, free: 10.61 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.785e-05/0.9542, allocations: 11.94 kB / 1.164 GB, free: 10.59 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.9542, allocations: 4.125 kB / 1.164 GB, free: 10.59 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 8.665e-05/0.9543, allocations: 122.4 kB / 1.165 GB, free: 10.46 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.9544, allocations: 11.91 kB / 1.165 GB, free: 10.45 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.729e-05/0.9544, allocations: 20.44 kB / 1.165 GB, free: 10.43 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.9544, allocations: 0 / 1.165 GB, free: 10.43 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.9544, allocations: 4 kB / 1.165 GB, free: 10.43 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.9544, allocations: 7.938 kB / 1.165 GB, free: 10.42 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.9546, allocations: 189.6 kB / 1.165 GB, free: 10.18 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.9546, allocations: 0 / 1.165 GB, free: 10.18 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/0.9548, allocations: 39.92 kB / 1.165 GB, free: 10.14 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.9548, allocations: 0 / 1.165 GB, free: 10.14 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.9549, allocations: 11.98 kB / 1.165 GB, free: 10.13 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.9549, allocations: 0 / 1.165 GB, free: 10.13 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.9549, allocations: 0 / 1.165 GB, free: 10.13 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002966/0.9552, allocations: 208.8 kB / 1.165 GB, free: 9.91 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 7.65e-05/0.9552, allocations: 97.06 kB / 1.165 GB, free: 9.797 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.9553, allocations: 0 / 1.165 GB, free: 9.797 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.9554, allocations: 11.98 kB / 1.165 GB, free: 9.785 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.757e-05/0.9554, allocations: 11.92 kB / 1.165 GB, free: 9.773 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.9555, allocations: 8 kB / 1.165 GB, free: 9.766 MB / 0.92 GB Notification: Performance of sorting global known variables: time 2.969e-05/0.9555, allocations: 79.28 kB / 1.165 GB, free: 9.688 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9555, allocations: 0 / 1.165 GB, free: 9.688 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002292/0.9557, allocations: 28.09 kB / 1.165 GB, free: 9.66 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.0001387/0.9559, allocations: 103.2 kB / 1.165 GB, free: 9.551 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001878/0.9561, allocations: 105.8 kB / 1.165 GB, free: 9.449 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.9561, allocations: 0 / 1.165 GB, free: 9.449 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.662e-05/0.9562, allocations: 63.78 kB / 1.165 GB, free: 9.387 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.9565, allocations: 12 kB / 1.165 GB, free: 9.375 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008226/0.9573, allocations: 0.5458 MB / 1.166 GB, free: 8.801 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.9576, allocations: 0.7011 MB / 1.167 GB, free: 8.074 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001313/0.9577, allocations: 24.62 kB / 1.167 GB, free: 8.051 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.281e-05/0.9578, allocations: 15.44 kB / 1.167 GB, free: 8.035 MB / 0.92 GB Notification: Performance of SimCode: time 3.2e-07/0.9578, allocations: 0 / 1.167 GB, free: 8.035 MB / 0.92 GB Notification: Performance of Templates: time 0.003632/0.9614, allocations: 1.077 MB / 1.168 GB, free: 6.965 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