Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 114.1 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 205.5 kB / 20.09 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.449/1.449, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.825/2.825, allocations: 0.49 GB / 0.7923 GB, free: 1.332 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_12_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_12_Buildings.Media.Examples.AirDerivativeCheck") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 67.89 kB / 1.15 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8579/0.8598, allocations: 176.1 MB / 1.322 GB, free: 25.17 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.00211/0.862, allocations: 1.352 MB / 1.323 GB, free: 24.21 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1805/1.042, allocations: 151.4 MB / 1.471 GB, free: 9.516 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.021e-05/1.042, allocations: 0 / 1.471 GB, free: 9.516 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 3.844e-05/1.042, allocations: 7.922 kB / 1.471 GB, free: 9.508 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 9.507e-05/1.043, allocations: 6.469 kB / 1.471 GB, free: 9.504 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009278/1.044, allocations: 343.2 kB / 1.471 GB, free: 9.254 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/1.044, allocations: 60.61 kB / 1.471 GB, free: 9.227 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 4.016e-05/1.044, allocations: 6.609 kB / 1.471 GB, free: 9.223 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 4.913e-05/1.044, allocations: 35.94 kB / 1.472 GB, free: 9.203 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 9.053e-05/1.044, allocations: 36.86 kB / 1.472 GB, free: 9.18 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/1.044, allocations: 2.875 kB / 1.472 GB, free: 9.18 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007988/1.045, allocations: 442.6 kB / 1.472 GB, free: 8.934 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 5.071e-05/1.045, allocations: 21.12 kB / 1.472 GB, free: 8.918 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 3.941e-05/1.045, allocations: 23.92 kB / 1.472 GB, free: 8.906 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0002904/1.045, allocations: 156.5 kB / 1.472 GB, free: 8.832 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/1.045, allocations: 0 / 1.472 GB, free: 8.832 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.202e-06/1.045, allocations: 0 / 1.472 GB, free: 8.832 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.193e-06/1.045, allocations: 5.484 kB / 1.472 GB, free: 8.828 MB / 1.154 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.0004955/1.045, allocations: 393.3 kB / 1.473 GB, free: 8.426 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/1.046, allocations: 13.52 kB / 1.473 GB, free: 8.422 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003992/1.046, allocations: 42.62 kB / 1.473 GB, free: 8.402 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/1.046, allocations: 165.6 kB / 1.473 GB, free: 8.203 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/1.046, allocations: 6.562 kB / 1.473 GB, free: 8.199 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.437e-05/1.046, allocations: 10.56 kB / 1.473 GB, free: 8.195 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/1.046, allocations: 81.52 kB / 1.473 GB, free: 8.133 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/1.046, allocations: 4 kB / 1.473 GB, free: 8.129 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/1.046, allocations: 1.125 kB / 1.473 GB, free: 8.129 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/1.046, allocations: 1.406 kB / 1.473 GB, free: 8.129 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/1.046, allocations: 45.58 kB / 1.473 GB, free: 8.109 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002395/1.047, allocations: 189 kB / 1.473 GB, free: 7.891 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/1.047, allocations: 88.34 kB / 1.473 GB, free: 7.836 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.346e-05/1.047, allocations: 30.62 kB / 1.473 GB, free: 7.816 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002452/1.047, allocations: 180.5 kB / 1.473 GB, free: 7.617 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/1.047, allocations: 31.97 kB / 1.473 GB, free: 7.578 MB / 1.154 GB Notification: Performance of pre-optimization done (n=12): time 1.233e-06/1.047, allocations: 0 / 1.473 GB, free: 7.578 MB / 1.154 GB Notification: Performance of matching and sorting (n=19): time 0.001343/1.049, allocations: 0.5527 MB / 1.474 GB, free: 7.168 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/1.049, allocations: 52.97 kB / 1.474 GB, free: 7.105 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.388e-05/1.049, allocations: 96.45 kB / 1.474 GB, free: 7.004 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/1.049, allocations: 31.17 kB / 1.474 GB, free: 6.969 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 4.334e-05/1.049, allocations: 81.83 kB / 1.474 GB, free: 6.887 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 7.263e-05/1.049, allocations: 87.3 kB / 1.474 GB, free: 6.809 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.779e-05/1.049, allocations: 43.89 kB / 1.474 GB, free: 6.773 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001474/1.049, allocations: 316 kB / 1.475 GB, free: 6.457 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.387e-05/1.049, allocations: 36.75 kB / 1.475 GB, free: 6.441 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.411e-05/1.049, allocations: 66.19 kB / 1.475 GB, free: 6.391 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/1.049, allocations: 118 kB / 1.475 GB, free: 6.312 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-06/1.049, allocations: 5 kB / 1.475 GB, free: 6.309 MB / 1.154 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002445/1.05, allocations: 161.7 kB / 1.475 GB, free: 6.215 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/1.05, allocations: 7.656 kB / 1.475 GB, free: 6.215 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/1.05, allocations: 1.094 kB / 1.475 GB, free: 6.215 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/1.05, allocations: 2.156 kB / 1.475 GB, free: 6.215 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/1.05, allocations: 38.92 kB / 1.475 GB, free: 6.207 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/1.05, allocations: 6.188 kB / 1.475 GB, free: 6.203 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.609e-05/1.05, allocations: 5.812 kB / 1.475 GB, free: 6.199 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/1.05, allocations: 9.375 kB / 1.475 GB, free: 6.195 MB / 1.154 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.0001024/1.05, allocations: 122.1 kB / 1.475 GB, free: 6.07 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/1.05, allocations: 9.266 kB / 1.475 GB, free: 6.066 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.306e-05/1.05, allocations: 16.44 kB / 1.475 GB, free: 6.051 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/1.05, allocations: 2.156 kB / 1.475 GB, free: 6.051 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/1.05, allocations: 1.031 kB / 1.475 GB, free: 6.051 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/1.05, allocations: 7.875 kB / 1.475 GB, free: 6.043 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/1.05, allocations: 193.2 kB / 1.475 GB, free: 5.824 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.05, allocations: 0 / 1.475 GB, free: 5.824 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002094/1.051, allocations: 38.55 kB / 1.475 GB, free: 5.816 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/1.051, allocations: 1.188 kB / 1.475 GB, free: 5.816 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/1.051, allocations: 13.23 kB / 1.475 GB, free: 5.805 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/1.051, allocations: 1.219 kB / 1.475 GB, free: 5.805 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/1.051, allocations: 0.9375 kB / 1.475 GB, free: 5.805 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003412/1.051, allocations: 213.8 kB / 1.476 GB, free: 5.664 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 8.249e-05/1.051, allocations: 90.7 kB / 1.476 GB, free: 5.562 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/1.051, allocations: 5.469 kB / 1.476 GB, free: 5.559 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/1.051, allocations: 8.016 kB / 1.476 GB, free: 5.555 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.77e-05/1.051, allocations: 20.08 kB / 1.476 GB, free: 5.539 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/1.051, allocations: 6.156 kB / 1.476 GB, free: 5.539 MB / 1.154 GB Notification: Performance of sorting global known variables: time 4.629e-05/1.051, allocations: 76.28 kB / 1.476 GB, free: 5.465 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/1.051, allocations: 0 / 1.476 GB, free: 5.465 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002203/1.051, allocations: 30.44 kB / 1.476 GB, free: 5.457 MB / 1.154 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.0001385/1.052, allocations: 113.3 kB / 1.476 GB, free: 5.352 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0002058/1.052, allocations: 101.5 kB / 1.476 GB, free: 5.312 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/1.052, allocations: 1.5 kB / 1.476 GB, free: 5.312 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 7.54e-05/1.052, allocations: 51.98 kB / 1.476 GB, free: 5.293 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/1.052, allocations: 15.31 kB / 1.476 GB, free: 5.285 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008964/1.053, allocations: 0.5449 MB / 1.477 GB, free: 4.824 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000335/1.053, allocations: 0.7006 MB / 1.477 GB, free: 4.117 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.961e-05/1.053, allocations: 17.75 kB / 1.477 GB, free: 4.109 MB / 1.154 GB Notification: Performance of SimCode: time 2.9e-07/1.053, allocations: 0 / 1.477 GB, free: 4.109 MB / 1.154 GB Notification: Performance of Templates: time 0.003124/1.057, allocations: 1.305 MB / 1.479 GB, free: 3.434 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_12_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.093193376000272]