Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008865/0.008865, allocations: 100 kB / 15.73 MB, free: 6.062 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.001863/0.001863, allocations: 194.2 kB / 16.67 MB, free: 5.973 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.625/2.625, allocations: 469.8 MB / 0.7425 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 59.89 kB / 1.065 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.861/0.8622, allocations: 159.1 MB / 1.221 GB, free: 2.164 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002323/0.8645, allocations: 1.334 MB / 1.222 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1603/1.025, allocations: 148.5 MB / 1.367 GB, free: 11.73 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.789e-05/1.025, allocations: 0 / 1.367 GB, free: 11.73 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 4.875e-05/1.025, allocations: 3.938 kB / 1.367 GB, free: 11.72 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0001212/1.025, allocations: 15.91 kB / 1.367 GB, free: 11.71 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001137/1.026, allocations: 342.6 kB / 1.367 GB, free: 11.37 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0001399/1.026, allocations: 67.7 kB / 1.367 GB, free: 11.3 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 4.407e-05/1.026, allocations: 4 kB / 1.367 GB, free: 11.3 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 4.938e-05/1.026, allocations: 23.98 kB / 1.367 GB, free: 11.28 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/1.027, allocations: 35.83 kB / 1.367 GB, free: 11.24 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/1.027, allocations: 4 kB / 1.367 GB, free: 11.24 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008623/1.027, allocations: 410.8 kB / 1.368 GB, free: 10.84 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 6.323e-05/1.027, allocations: 19.97 kB / 1.368 GB, free: 10.82 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 4.816e-05/1.027, allocations: 35.84 kB / 1.368 GB, free: 10.78 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0003816/1.028, allocations: 148.2 kB / 1.368 GB, free: 10.64 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/1.028, allocations: 0 / 1.368 GB, free: 10.64 MB / 1.092 GB Notification: Performance of FrontEnd: time 4.89e-06/1.028, allocations: 11.92 kB / 1.368 GB, free: 10.63 MB / 1.092 GB Notification: Performance of Transformations before backend: time 6.161e-06/1.028, allocations: 0 / 1.368 GB, free: 10.63 MB / 1.092 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.0004927/1.028, allocations: 391 kB / 1.368 GB, free: 10.2 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/1.028, allocations: 12.03 kB / 1.368 GB, free: 10.19 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000442/1.029, allocations: 44.88 kB / 1.368 GB, free: 10.15 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/1.029, allocations: 168.3 kB / 1.369 GB, free: 9.945 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/1.029, allocations: 7.938 kB / 1.369 GB, free: 9.938 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.398e-05/1.029, allocations: 11.95 kB / 1.369 GB, free: 9.926 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/1.029, allocations: 77.64 kB / 1.369 GB, free: 9.844 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/1.029, allocations: 0 / 1.369 GB, free: 9.844 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/1.029, allocations: 4 kB / 1.369 GB, free: 9.84 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/1.029, allocations: 0 / 1.369 GB, free: 9.84 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.333e-05/1.029, allocations: 51.89 kB / 1.369 GB, free: 9.789 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002032/1.03, allocations: 189.5 kB / 1.369 GB, free: 9.555 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/1.03, allocations: 78.69 kB / 1.369 GB, free: 9.469 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.375e-05/1.03, allocations: 36.78 kB / 1.369 GB, free: 9.43 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002368/1.03, allocations: 170.2 kB / 1.369 GB, free: 9.227 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/1.03, allocations: 46.5 kB / 1.369 GB, free: 9.172 MB / 1.092 GB Notification: Performance of pre-optimization done (n=12): time 1.442e-06/1.03, allocations: 0 / 1.369 GB, free: 9.172 MB / 1.092 GB Notification: Performance of matching and sorting (n=19): time 0.001322/1.031, allocations: 0.544 MB / 1.37 GB, free: 8.578 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/1.031, allocations: 55.41 kB / 1.37 GB, free: 8.512 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.941e-05/1.031, allocations: 101.8 kB / 1.37 GB, free: 8.402 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/1.031, allocations: 25.7 kB / 1.37 GB, free: 8.371 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 2.997e-05/1.032, allocations: 84.52 kB / 1.37 GB, free: 8.285 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 6.784e-05/1.032, allocations: 71.38 kB / 1.37 GB, free: 8.215 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.567e-05/1.032, allocations: 41.7 kB / 1.37 GB, free: 8.168 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 9.973e-05/1.032, allocations: 314.8 kB / 1.37 GB, free: 7.852 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.957e-05/1.032, allocations: 43.97 kB / 1.37 GB, free: 7.809 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.029e-05/1.032, allocations: 73.91 kB / 1.371 GB, free: 7.727 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/1.032, allocations: 115.3 kB / 1.371 GB, free: 7.602 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/1.032, allocations: 0 / 1.371 GB, free: 7.602 MB / 1.092 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002192/1.032, allocations: 157.6 kB / 1.371 GB, free: 7.441 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/1.032, allocations: 8 kB / 1.371 GB, free: 7.434 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/1.032, allocations: 0 / 1.371 GB, free: 7.434 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/1.032, allocations: 128 / 1.371 GB, free: 7.434 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/1.032, allocations: 47.92 kB / 1.371 GB, free: 7.387 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/1.033, allocations: 4 kB / 1.371 GB, free: 7.383 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.648e-05/1.033, allocations: 7.938 kB / 1.371 GB, free: 7.375 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/1.033, allocations: 4 kB / 1.371 GB, free: 7.371 MB / 1.092 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 0.0001067/1.033, allocations: 130.3 kB / 1.371 GB, free: 7.234 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/1.033, allocations: 7.953 kB / 1.371 GB, free: 7.227 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.88e-05/1.033, allocations: 16.44 kB / 1.371 GB, free: 7.211 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/1.033, allocations: 4 kB / 1.371 GB, free: 7.207 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.033, allocations: 4 kB / 1.371 GB, free: 7.203 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/1.033, allocations: 7.875 kB / 1.371 GB, free: 7.195 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/1.033, allocations: 193.6 kB / 1.371 GB, free: 6.957 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.033, allocations: 0 / 1.371 GB, free: 6.957 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/1.033, allocations: 31.98 kB / 1.371 GB, free: 6.926 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.391e-06/1.033, allocations: 7.984 kB / 1.371 GB, free: 6.918 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/1.033, allocations: 0 / 1.371 GB, free: 6.918 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/1.033, allocations: 0 / 1.371 GB, free: 6.918 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.033, allocations: 0 / 1.371 GB, free: 6.918 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003021/1.033, allocations: 216.8 kB / 1.371 GB, free: 6.688 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 8.057e-05/1.034, allocations: 97.03 kB / 1.372 GB, free: 6.574 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/1.034, allocations: 4.062 kB / 1.372 GB, free: 6.57 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/1.034, allocations: 11.98 kB / 1.372 GB, free: 6.559 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.898e-05/1.034, allocations: 15.92 kB / 1.372 GB, free: 6.543 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/1.034, allocations: 11.94 kB / 1.372 GB, free: 6.531 MB / 1.092 GB Notification: Performance of sorting global known variables: time 3.16e-05/1.034, allocations: 75.28 kB / 1.372 GB, free: 6.457 MB / 1.092 GB Notification: Performance of sort global known variables: time 7e-08/1.034, allocations: 0 / 1.372 GB, free: 6.457 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0002252/1.034, allocations: 32.09 kB / 1.372 GB, free: 6.426 MB / 1.092 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.0001532/1.034, allocations: 115.1 kB / 1.372 GB, free: 6.301 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0002005/1.034, allocations: 99.89 kB / 1.372 GB, free: 6.203 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.034, allocations: 0 / 1.372 GB, free: 6.203 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 7.166e-05/1.034, allocations: 50.16 kB / 1.372 GB, free: 6.156 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/1.035, allocations: 8.109 kB / 1.372 GB, free: 6.148 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008368/1.035, allocations: 0.5203 MB / 1.372 GB, free: 5.602 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/1.036, allocations: 0.7008 MB / 1.373 GB, free: 4.875 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001041/1.036, allocations: 24.64 kB / 1.373 GB, free: 4.852 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.884e-05/1.036, allocations: 15.44 kB / 1.373 GB, free: 4.836 MB / 1.092 GB Notification: Performance of SimCode: time 3.8e-07/1.036, allocations: 0 / 1.373 GB, free: 4.836 MB / 1.092 GB Notification: Performance of Templates: time 0.00368/1.04, allocations: 1.133 MB / 1.374 GB, free: 3.707 MB / 1.092 GB make -j1 -f Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_11_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches