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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.006477/0.006476, allocations: 98.97 kB / 15.73 MB, free: 6.012 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.001387/0.001388, allocations: 201.3 kB / 16.68 MB, free: 5.926 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.369/1.369, 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 12.0.0-master/package.mo): time 2.618/2.618, allocations: 472.6 MB / 0.7453 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 63.91 kB / 1.069 GB, free: 9.652 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.904/0.9055, allocations: 159.9 MB / 1.226 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002219/0.9078, allocations: 1.328 MB / 1.227 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1617/1.07, allocations: 148.1 MB / 1.372 GB, free: 7.547 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.33e-05/1.07, allocations: 0 / 1.372 GB, free: 7.547 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 4.094e-05/1.07, allocations: 3.984 kB / 1.372 GB, free: 7.543 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 9.606e-05/1.07, allocations: 23.86 kB / 1.372 GB, free: 7.52 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008931/1.071, allocations: 322.6 kB / 1.372 GB, free: 7.203 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0001055/1.071, allocations: 67.7 kB / 1.372 GB, free: 7.137 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 3.461e-05/1.071, allocations: 11.98 kB / 1.372 GB, free: 7.125 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 3.954e-05/1.071, allocations: 27.97 kB / 1.372 GB, free: 7.098 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 9.211e-05/1.071, allocations: 35.84 kB / 1.372 GB, free: 7.062 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/1.071, allocations: 4 kB / 1.372 GB, free: 7.059 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007644/1.072, allocations: 402.8 kB / 1.372 GB, free: 6.664 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 4.718e-05/1.072, allocations: 19.95 kB / 1.372 GB, free: 6.645 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 3.829e-05/1.072, allocations: 23.88 kB / 1.372 GB, free: 6.621 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0002938/1.072, allocations: 164.1 kB / 1.373 GB, free: 6.469 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/1.072, allocations: 0 / 1.373 GB, free: 6.469 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.042e-06/1.072, allocations: 0 / 1.373 GB, free: 6.469 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.749e-06/1.072, allocations: 4 kB / 1.373 GB, free: 6.465 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.0004427/1.073, allocations: 397.5 kB / 1.373 GB, free: 6.031 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/1.073, allocations: 8.031 kB / 1.373 GB, free: 6.023 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004093/1.073, allocations: 40.89 kB / 1.373 GB, free: 5.984 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.313e-05/1.073, allocations: 164.3 kB / 1.373 GB, free: 5.785 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/1.073, allocations: 11.94 kB / 1.373 GB, free: 5.773 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/1.073, allocations: 15.89 kB / 1.373 GB, free: 5.758 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/1.073, allocations: 81.64 kB / 1.373 GB, free: 5.672 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/1.073, allocations: 0 / 1.373 GB, free: 5.672 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/1.073, allocations: 8 kB / 1.373 GB, free: 5.664 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/1.073, allocations: 0 / 1.373 GB, free: 5.664 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.084e-05/1.074, allocations: 47.89 kB / 1.373 GB, free: 5.617 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001853/1.074, allocations: 185.5 kB / 1.373 GB, free: 5.387 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/1.074, allocations: 102.7 kB / 1.374 GB, free: 5.277 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.295e-05/1.074, allocations: 28.84 kB / 1.374 GB, free: 5.246 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002283/1.074, allocations: 174.2 kB / 1.374 GB, free: 5.039 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/1.074, allocations: 38.5 kB / 1.374 GB, free: 4.992 MB / 1.092 GB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/1.074, allocations: 0 / 1.374 GB, free: 4.992 MB / 1.092 GB Notification: Performance of matching and sorting (n=19): time 0.001262/1.076, allocations: 0.5451 MB / 1.374 GB, free: 4.395 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/1.076, allocations: 51.41 kB / 1.374 GB, free: 4.332 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.851e-05/1.076, allocations: 97.8 kB / 1.374 GB, free: 4.227 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/1.076, allocations: 29.7 kB / 1.375 GB, free: 4.191 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 4.019e-05/1.076, allocations: 92.61 kB / 1.375 GB, free: 4.098 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 5.833e-05/1.076, allocations: 71.39 kB / 1.375 GB, free: 4.027 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.648e-05/1.076, allocations: 41.7 kB / 1.375 GB, free: 3.98 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001098/1.076, allocations: 318.8 kB / 1.375 GB, free: 3.66 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.921e-05/1.076, allocations: 35.98 kB / 1.375 GB, free: 3.625 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.343e-05/1.076, allocations: 67.34 kB / 1.375 GB, free: 3.547 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/1.076, allocations: 115.4 kB / 1.375 GB, free: 3.422 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/1.076, allocations: 0 / 1.375 GB, free: 3.422 MB / 1.092 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000223/1.077, allocations: 157.5 kB / 1.375 GB, free: 3.262 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/1.077, allocations: 8 kB / 1.375 GB, free: 3.254 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/1.077, allocations: 3.984 kB / 1.375 GB, free: 3.25 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/1.077, allocations: 0 / 1.375 GB, free: 3.25 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/1.077, allocations: 44.05 kB / 1.375 GB, free: 3.207 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/1.077, allocations: 4 kB / 1.375 GB, free: 3.203 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.69e-05/1.077, allocations: 7.938 kB / 1.375 GB, free: 3.195 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/1.077, allocations: 11.98 kB / 1.375 GB, free: 3.184 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 8.831e-05/1.077, allocations: 126.4 kB / 1.376 GB, free: 3.051 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.073e-05/1.077, allocations: 7.953 kB / 1.376 GB, free: 3.043 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.016e-05/1.077, allocations: 16.38 kB / 1.376 GB, free: 3.027 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/1.077, allocations: 4 kB / 1.376 GB, free: 3.023 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/1.077, allocations: 0 / 1.376 GB, free: 3.023 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/1.077, allocations: 7.875 kB / 1.376 GB, free: 3.016 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/1.077, allocations: 193.6 kB / 1.376 GB, free: 2.777 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/1.077, allocations: 0 / 1.376 GB, free: 2.777 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001965/1.077, allocations: 39.97 kB / 1.376 GB, free: 2.738 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/1.078, allocations: 8 kB / 1.376 GB, free: 2.73 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/1.078, allocations: 3.938 kB / 1.376 GB, free: 2.727 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/1.078, allocations: 0 / 1.376 GB, free: 2.727 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.078, allocations: 0 / 1.376 GB, free: 2.727 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003222/1.078, allocations: 218.2 kB / 1.376 GB, free: 2.496 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 7.765e-05/1.078, allocations: 89.05 kB / 1.376 GB, free: 2.391 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/1.078, allocations: 8.047 kB / 1.376 GB, free: 2.383 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/1.078, allocations: 8 kB / 1.376 GB, free: 2.375 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/1.078, allocations: 19.92 kB / 1.376 GB, free: 2.355 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/1.078, allocations: 4 kB / 1.376 GB, free: 2.352 MB / 1.092 GB Notification: Performance of sorting global known variables: time 3.195e-05/1.078, allocations: 75.28 kB / 1.376 GB, free: 2.277 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.2e-07/1.078, allocations: 0 / 1.376 GB, free: 2.277 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0002413/1.078, allocations: 32 kB / 1.376 GB, free: 2.246 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.0001314/1.079, allocations: 107.2 kB / 1.376 GB, free: 2.129 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0001964/1.079, allocations: 111.9 kB / 1.376 GB, free: 2.02 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.079, allocations: 0 / 1.376 GB, free: 2.02 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 8.192e-05/1.079, allocations: 51.92 kB / 1.377 GB, free: 1.969 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/1.079, allocations: 18.17 kB / 1.377 GB, free: 1.953 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007798/1.08, allocations: 0.515 MB / 1.377 GB, free: 1.414 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/1.08, allocations: 0.6969 MB / 1.378 GB, free: 0.6914 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 9.898e-05/1.08, allocations: 20.62 kB / 1.378 GB, free: 0.6719 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.936e-05/1.08, allocations: 19.44 kB / 1.378 GB, free: 0.6523 MB / 1.092 GB Notification: Performance of SimCode: time 2.61e-07/1.08, allocations: 0 / 1.378 GB, free: 0.6523 MB / 1.092 GB Notification: Performance of Templates: time 0.003489/1.084, allocations: 1.139 MB / 1.379 GB, free: 15.52 MB / 1.107 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