Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.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_9_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_9_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.001373/0.001373, allocations: 100.1 kB / 15.88 MB, free: 12 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.001496/0.001496, allocations: 196 kB / 16.79 MB, free: 6.809 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.387/1.387, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.36/2.36, allocations: 390.2 MB / 0.6649 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 63.89 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6085/0.6098, allocations: 140.3 MB / 0.9496 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.00212/0.612, allocations: 1.4 MB / 0.9509 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1559/0.768, allocations: 145.8 MB / 1.093 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.432e-05/0.768, allocations: 4 kB / 1.093 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.399e-05/0.7681, allocations: 7.922 kB / 1.093 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.7683, allocations: 15.91 kB / 1.093 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009445/0.7692, allocations: 290.9 kB / 1.094 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.7693, allocations: 83.73 kB / 1.094 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.61e-05/0.7694, allocations: 19.92 kB / 1.094 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.184e-05/0.7694, allocations: 20 kB / 1.094 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.003e-05/0.7695, allocations: 39.77 kB / 1.094 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.7696, allocations: 4 kB / 1.094 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009088/0.7705, allocations: 498.6 kB / 1.094 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.069e-05/0.7705, allocations: 15.97 kB / 1.094 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.414e-05/0.7706, allocations: 31.88 kB / 1.094 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.7708, allocations: 109.8 kB / 1.094 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.7708, allocations: 0 / 1.094 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.42e-07/0.7708, allocations: 4 kB / 1.094 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.646e-06/0.7709, allocations: 0 / 1.094 GB, free: 13.29 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000458/0.7713, allocations: 387.4 kB / 1.095 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.7714, allocations: 8.031 kB / 1.095 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004243/0.7718, allocations: 44.73 kB / 1.095 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.7719, allocations: 164.4 kB / 1.095 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.7719, allocations: 11.94 kB / 1.095 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.131e-05/0.772, allocations: 15.98 kB / 1.095 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.7722, allocations: 85.58 kB / 1.095 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.7722, allocations: 0 / 1.095 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.7722, allocations: 4 kB / 1.095 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.7722, allocations: 0 / 1.095 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.887e-05/0.7723, allocations: 47.95 kB / 1.095 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002003/0.7725, allocations: 185.4 kB / 1.095 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.7727, allocations: 102.6 kB / 1.095 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.703e-05/0.7728, allocations: 32.84 kB / 1.095 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002359/0.773, allocations: 174.5 kB / 1.096 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.7731, allocations: 38.56 kB / 1.096 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.7731, allocations: 3.938 kB / 1.096 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.001301/0.7744, allocations: 0.5308 MB / 1.096 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.7744, allocations: 55.41 kB / 1.096 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.327e-05/0.7745, allocations: 109.7 kB / 1.096 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.7745, allocations: 29.7 kB / 1.096 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.217e-05/0.7746, allocations: 84.64 kB / 1.096 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.549e-05/0.7746, allocations: 63.02 kB / 1.096 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.607e-05/0.7747, allocations: 41.7 kB / 1.097 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.7748, allocations: 318.8 kB / 1.097 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.696e-05/0.7749, allocations: 39.98 kB / 1.097 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.492e-05/0.775, allocations: 69.23 kB / 1.097 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.7751, allocations: 127.3 kB / 1.097 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.7751, allocations: 0 / 1.097 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002182/0.7754, allocations: 149.5 kB / 1.097 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.7754, allocations: 6.188 kB / 1.097 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.7754, allocations: 7.984 kB / 1.097 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.7754, allocations: 0 / 1.097 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.7756, allocations: 43.86 kB / 1.097 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.7756, allocations: 4 kB / 1.097 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.807e-05/0.7757, allocations: 7.938 kB / 1.097 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.7757, allocations: 8 kB / 1.097 GB, free: 10.01 MB / 0.8575 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.848e-05/0.7758, allocations: 125.8 kB / 1.097 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.7758, allocations: 7.906 kB / 1.097 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.633e-05/0.7759, allocations: 16.44 kB / 1.097 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.7759, allocations: 0 / 1.097 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.7759, allocations: 4 kB / 1.097 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.7759, allocations: 7.922 kB / 1.097 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.7761, allocations: 193.6 kB / 1.098 GB, free: 9.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.7761, allocations: 0 / 1.098 GB, free: 9.602 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002062/0.7763, allocations: 40.11 kB / 1.098 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.7763, allocations: 4 kB / 1.098 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.468e-05/0.7763, allocations: 4 kB / 1.098 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.7763, allocations: 3.938 kB / 1.098 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.7763, allocations: 0 / 1.098 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003129/0.7767, allocations: 211 kB / 1.098 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.22e-05/0.7767, allocations: 97.06 kB / 1.098 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.7768, allocations: 0 / 1.098 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.7769, allocations: 15.94 kB / 1.098 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.648e-05/0.7769, allocations: 11.92 kB / 1.098 GB, free: 9.188 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.777, allocations: 12 kB / 1.098 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.102e-05/0.777, allocations: 79.27 kB / 1.098 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.777, allocations: 0 / 1.098 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002292/0.7772, allocations: 28 kB / 1.098 GB, free: 9.07 MB / 0.8575 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.0001297/0.7774, allocations: 111.3 kB / 1.098 GB, free: 8.953 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002007/0.7776, allocations: 107.8 kB / 1.098 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7776, allocations: 0 / 1.098 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.417e-05/0.7777, allocations: 55.92 kB / 1.098 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.7779, allocations: 11.98 kB / 1.098 GB, free: 8.781 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008698/0.7788, allocations: 0.5632 MB / 1.099 GB, free: 8.184 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.7791, allocations: 0.7011 MB / 1.1 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.949e-05/0.7791, allocations: 19.38 kB / 1.1 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of SimCode: time 2.9e-07/0.7791, allocations: 0 / 1.1 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of Templates: time 0.002794/0.7819, allocations: 1.292 MB / 1.101 GB, free: 6.145 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_9_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches