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.001506/0.001506, allocations: 102.1 kB / 19.7 MB, free: 2.246 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.001595/0.001595, allocations: 222 kB / 23.01 MB, free: 5.086 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.332/1.332, allocations: 230.6 MB / 256.8 MB, free: 7.953 MB / 206.1 MB " [Timeout remaining time 179] 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.906/2.906, allocations: 0.49 GB / 0.7958 GB, free: 33.47 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.001927/0.001927, allocations: 69.77 kB / 1.155 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2916, allocations: 176.1 MB / 1.327 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002284/0.2938, allocations: 1.355 MB / 1.328 GB, free: 84 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1722/0.4661, allocations: 151.4 MB / 1.476 GB, free: 8.078 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.132e-05/0.4661, allocations: 0 / 1.476 GB, free: 8.078 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 3.452e-05/0.4661, allocations: 0 / 1.476 GB, free: 8.078 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 9.186e-05/0.4662, allocations: 19.84 kB / 1.476 GB, free: 8.059 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008898/0.4671, allocations: 334.6 kB / 1.477 GB, free: 7.73 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.4672, allocations: 63.78 kB / 1.477 GB, free: 7.668 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 3.823e-05/0.4673, allocations: 7.984 kB / 1.477 GB, free: 7.66 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 4.273e-05/0.4673, allocations: 27.92 kB / 1.477 GB, free: 7.633 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 9.296e-05/0.4674, allocations: 31.89 kB / 1.477 GB, free: 7.602 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.4674, allocations: 4 kB / 1.477 GB, free: 7.598 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007874/0.4682, allocations: 450.6 kB / 1.477 GB, free: 7.156 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 4.88e-05/0.4683, allocations: 19.91 kB / 1.477 GB, free: 7.137 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 3.857e-05/0.4683, allocations: 23.92 kB / 1.477 GB, free: 7.113 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0003013/0.4686, allocations: 163.5 kB / 1.477 GB, free: 6.953 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.4686, allocations: 0 / 1.477 GB, free: 6.953 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4686, allocations: 0 / 1.477 GB, free: 6.953 MB / 1.17 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.4686, allocations: 0 / 1.477 GB, free: 6.953 MB / 1.17 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.0004461/0.4691, allocations: 323.3 kB / 1.478 GB, free: 6.609 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.4691, allocations: 12.03 kB / 1.478 GB, free: 6.598 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003789/0.4695, allocations: 32.86 kB / 1.478 GB, free: 6.566 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.14e-05/0.4696, allocations: 114.5 kB / 1.478 GB, free: 6.43 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.4696, allocations: 7.938 kB / 1.478 GB, free: 6.422 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.4696, allocations: 12 kB / 1.478 GB, free: 6.41 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.4698, allocations: 85.53 kB / 1.478 GB, free: 6.32 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.4698, allocations: 0 / 1.478 GB, free: 6.32 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.4698, allocations: 0 / 1.478 GB, free: 6.32 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.4698, allocations: 0 / 1.478 GB, free: 6.32 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.998e-05/0.4699, allocations: 51.95 kB / 1.478 GB, free: 6.27 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002001/0.4701, allocations: 168.5 kB / 1.478 GB, free: 6.062 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.4703, allocations: 78.55 kB / 1.478 GB, free: 5.977 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.488e-05/0.4703, allocations: 32.94 kB / 1.478 GB, free: 5.941 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001601/0.4705, allocations: 27.97 kB / 1.478 GB, free: 5.914 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.4705, allocations: 38.56 kB / 1.478 GB, free: 5.867 MB / 1.17 GB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.4705, allocations: 0 / 1.478 GB, free: 5.867 MB / 1.17 GB Notification: Performance of matching and sorting (n=19): time 0.001183/0.4717, allocations: 478.7 kB / 1.479 GB, free: 5.367 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.4717, allocations: 55.41 kB / 1.479 GB, free: 5.301 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.749e-05/0.4718, allocations: 101.8 kB / 1.479 GB, free: 5.191 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.4718, allocations: 33.7 kB / 1.479 GB, free: 5.152 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 3.201e-05/0.4719, allocations: 80.52 kB / 1.479 GB, free: 5.07 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 6.174e-05/0.4719, allocations: 71.33 kB / 1.479 GB, free: 5 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.819e-05/0.472, allocations: 41.7 kB / 1.479 GB, free: 4.953 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.4721, allocations: 330.9 kB / 1.479 GB, free: 4.621 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.634e-05/0.4722, allocations: 31.98 kB / 1.48 GB, free: 4.59 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.211e-05/0.4723, allocations: 67.41 kB / 1.48 GB, free: 4.512 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.4724, allocations: 111.3 kB / 1.48 GB, free: 4.391 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.4724, allocations: 0 / 1.48 GB, free: 4.391 MB / 1.17 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002324/0.4727, allocations: 161.5 kB / 1.48 GB, free: 4.227 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.4727, allocations: 11.98 kB / 1.48 GB, free: 4.215 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.4727, allocations: 0 / 1.48 GB, free: 4.215 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.4727, allocations: 4 kB / 1.48 GB, free: 4.211 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.4729, allocations: 39.92 kB / 1.48 GB, free: 4.172 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.4729, allocations: 0 / 1.48 GB, free: 4.172 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.472e-05/0.4729, allocations: 12.06 kB / 1.48 GB, free: 4.16 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.4729, allocations: 8 kB / 1.48 GB, free: 4.152 MB / 1.17 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 9.919e-05/0.473, allocations: 122.3 kB / 1.48 GB, free: 4.023 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.4731, allocations: 7.953 kB / 1.48 GB, free: 4.016 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.763e-05/0.4731, allocations: 20.47 kB / 1.48 GB, free: 3.992 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.4731, allocations: 7.984 kB / 1.48 GB, free: 3.984 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.4731, allocations: 0 / 1.48 GB, free: 3.984 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.4731, allocations: 7.922 kB / 1.48 GB, free: 3.977 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.4733, allocations: 164.7 kB / 1.48 GB, free: 3.773 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.4733, allocations: 0 / 1.48 GB, free: 3.773 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001909/0.4735, allocations: 39.92 kB / 1.48 GB, free: 3.734 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4735, allocations: 0 / 1.48 GB, free: 3.734 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.4735, allocations: 8 kB / 1.48 GB, free: 3.727 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4735, allocations: 0 / 1.48 GB, free: 3.727 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.4735, allocations: 3.938 kB / 1.48 GB, free: 3.723 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003043/0.4738, allocations: 212.9 kB / 1.48 GB, free: 3.5 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 5.145e-05/0.4739, allocations: 20 kB / 1.48 GB, free: 3.48 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.4739, allocations: 0 / 1.48 GB, free: 3.48 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.474, allocations: 8 kB / 1.48 GB, free: 3.473 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.647e-05/0.474, allocations: 15.91 kB / 1.481 GB, free: 3.457 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.474, allocations: 8 kB / 1.481 GB, free: 3.449 MB / 1.17 GB Notification: Performance of sorting global known variables: time 3.93e-05/0.4741, allocations: 83.28 kB / 1.481 GB, free: 3.367 MB / 1.17 GB Notification: Performance of sort global known variables: time 5e-08/0.4741, allocations: 0 / 1.481 GB, free: 3.367 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002155/0.4743, allocations: 28 kB / 1.481 GB, free: 3.34 MB / 1.17 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.0001142/0.4744, allocations: 107.2 kB / 1.481 GB, free: 3.223 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0001917/0.4746, allocations: 101.3 kB / 1.481 GB, free: 3.125 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4746, allocations: 0 / 1.481 GB, free: 3.125 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 8.016e-05/0.4747, allocations: 51.91 kB / 1.481 GB, free: 3.074 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.4749, allocations: 20.09 kB / 1.481 GB, free: 3.055 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008021/0.4757, allocations: 0.531 MB / 1.481 GB, free: 2.492 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.476, allocations: 0.7086 MB / 1.482 GB, free: 1.758 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.791e-05/0.4761, allocations: 23.44 kB / 1.482 GB, free: 1.734 MB / 1.17 GB Notification: Performance of SimCode: time 3e-07/0.4761, allocations: 0 / 1.482 GB, free: 1.734 MB / 1.17 GB Notification: Performance of Templates: time 0.002928/0.479, allocations: 1.303 MB / 1.483 GB, free: 436 kB / 1.17 GB " [Timeout remaining time 300] 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: 10.15267749200575]