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.00131/0.00131, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001464/0.001464, allocations: 216.5 kB / 22.99 MB, free: 4.945 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.797 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 3.186/3.186, allocations: 0.4892 GB / 0.7951 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 176] 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.002151/0.002151, allocations: 69.45 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2951, allocations: 176.1 MB / 1.326 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002414/0.2975, allocations: 1.333 MB / 1.328 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1674/0.4649, allocations: 130 MB / 1.455 GB, free: 14 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.399e-05/0.465, allocations: 0 / 1.455 GB, free: 14 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 4.536e-05/0.465, allocations: 3.938 kB / 1.455 GB, free: 13.99 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.4651, allocations: 15.91 kB / 1.455 GB, free: 13.98 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.4662, allocations: 326.7 kB / 1.455 GB, free: 13.66 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.4663, allocations: 71.69 kB / 1.455 GB, free: 13.59 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 3.555e-05/0.4663, allocations: 0 / 1.455 GB, free: 13.59 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 4.899e-05/0.4664, allocations: 27.98 kB / 1.455 GB, free: 13.56 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.4665, allocations: 39.83 kB / 1.455 GB, free: 13.52 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.4665, allocations: 0 / 1.455 GB, free: 13.52 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008177/0.4673, allocations: 374.7 kB / 1.455 GB, free: 13.15 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 5.411e-05/0.4674, allocations: 15.97 kB / 1.455 GB, free: 13.14 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 4.205e-05/0.4674, allocations: 23.92 kB / 1.455 GB, free: 13.11 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0003357/0.4678, allocations: 155.5 kB / 1.456 GB, free: 12.96 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.4678, allocations: 4 kB / 1.456 GB, free: 12.96 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4678, allocations: 0 / 1.456 GB, free: 12.96 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.4678, allocations: 0 / 1.456 GB, free: 12.96 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.0004785/0.4683, allocations: 318 kB / 1.456 GB, free: 12.62 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.4683, allocations: 12.03 kB / 1.456 GB, free: 12.61 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000418/0.4687, allocations: 32.86 kB / 1.456 GB, free: 12.57 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.4688, allocations: 114.5 kB / 1.456 GB, free: 12.44 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.4688, allocations: 7.938 kB / 1.456 GB, free: 12.43 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.617e-05/0.4689, allocations: 12 kB / 1.456 GB, free: 12.42 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002642/0.4691, allocations: 206.1 kB / 1.456 GB, free: 12.18 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.4692, allocations: 0 / 1.456 GB, free: 12.18 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.4692, allocations: 0 / 1.456 GB, free: 12.18 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.4692, allocations: 8 kB / 1.456 GB, free: 12.17 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.715e-05/0.4693, allocations: 43.95 kB / 1.456 GB, free: 12.13 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001988/0.4695, allocations: 129.2 kB / 1.456 GB, free: 11.97 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.4697, allocations: 94.56 kB / 1.457 GB, free: 11.87 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.63e-05/0.4697, allocations: 28.84 kB / 1.457 GB, free: 11.84 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001694/0.4699, allocations: 23.98 kB / 1.457 GB, free: 11.82 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.497e-05/0.4699, allocations: 38.89 kB / 1.457 GB, free: 11.77 MB / 1.154 GB Notification: Performance of pre-optimization done (n=12): time 1.293e-06/0.4699, allocations: 0 / 1.457 GB, free: 11.77 MB / 1.154 GB Notification: Performance of matching and sorting (n=19): time 0.001343/0.4713, allocations: 483.3 kB / 1.457 GB, free: 11.27 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.4713, allocations: 55.34 kB / 1.457 GB, free: 11.2 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.726e-05/0.4714, allocations: 97.86 kB / 1.457 GB, free: 11.09 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.4714, allocations: 29.7 kB / 1.457 GB, free: 11.06 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 4.198e-05/0.4715, allocations: 88.64 kB / 1.457 GB, free: 10.97 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 7.012e-05/0.4715, allocations: 75.31 kB / 1.457 GB, free: 10.89 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.921e-05/0.4716, allocations: 37.7 kB / 1.457 GB, free: 10.85 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.4718, allocations: 326.7 kB / 1.458 GB, free: 10.52 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.983e-05/0.4718, allocations: 39.97 kB / 1.458 GB, free: 10.48 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.496e-05/0.4719, allocations: 70.05 kB / 1.458 GB, free: 10.41 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.4721, allocations: 111.4 kB / 1.458 GB, free: 10.29 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.4721, allocations: 0 / 1.458 GB, free: 10.29 MB / 1.154 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002661/0.4724, allocations: 161.5 kB / 1.458 GB, free: 10.12 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.4724, allocations: 4 kB / 1.458 GB, free: 10.12 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.4724, allocations: 4 kB / 1.458 GB, free: 10.11 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.4724, allocations: 4 kB / 1.458 GB, free: 10.11 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.4726, allocations: 39.92 kB / 1.458 GB, free: 10.07 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.4726, allocations: 4 kB / 1.458 GB, free: 10.07 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.917e-05/0.4727, allocations: 4 kB / 1.458 GB, free: 10.06 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.4727, allocations: 7.938 kB / 1.458 GB, free: 10.05 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.0001125/0.4728, allocations: 130.3 kB / 1.458 GB, free: 9.918 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.275e-05/0.4728, allocations: 11.94 kB / 1.458 GB, free: 9.906 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.158e-05/0.4729, allocations: 16.47 kB / 1.458 GB, free: 9.887 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.4729, allocations: 4 kB / 1.458 GB, free: 9.883 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.4729, allocations: 0 / 1.458 GB, free: 9.883 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.4729, allocations: 4 kB / 1.458 GB, free: 9.879 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.473, allocations: 133.2 kB / 1.458 GB, free: 9.719 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.473, allocations: 0 / 1.458 GB, free: 9.719 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002057/0.4732, allocations: 35.98 kB / 1.458 GB, free: 9.684 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.4732, allocations: 0 / 1.458 GB, free: 9.684 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.4733, allocations: 7.984 kB / 1.458 GB, free: 9.676 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.4733, allocations: 4 kB / 1.458 GB, free: 9.672 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.4733, allocations: 3.938 kB / 1.459 GB, free: 9.668 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003376/0.4736, allocations: 200.9 kB / 1.459 GB, free: 9.453 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 6.015e-05/0.4737, allocations: 20 kB / 1.459 GB, free: 9.434 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.4737, allocations: 4 kB / 1.459 GB, free: 9.43 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.4738, allocations: 11.98 kB / 1.459 GB, free: 9.418 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.366e-05/0.4738, allocations: 11.92 kB / 1.459 GB, free: 9.406 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.4738, allocations: 8 kB / 1.459 GB, free: 9.398 MB / 1.154 GB Notification: Performance of sorting global known variables: time 4.295e-05/0.4739, allocations: 79.28 kB / 1.459 GB, free: 9.32 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/0.4739, allocations: 0 / 1.459 GB, free: 9.32 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002303/0.4741, allocations: 27.98 kB / 1.459 GB, free: 9.293 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.0001596/0.4743, allocations: 115.2 kB / 1.459 GB, free: 9.168 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0002172/0.4745, allocations: 110 kB / 1.459 GB, free: 9.062 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.4745, allocations: 0 / 1.459 GB, free: 9.062 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 7.785e-05/0.4746, allocations: 47.92 kB / 1.459 GB, free: 9.016 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.4748, allocations: 30.39 kB / 1.459 GB, free: 8.988 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008889/0.4757, allocations: 0.5345 MB / 1.46 GB, free: 8.422 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.713e-05/0.4758, allocations: 84 kB / 1.46 GB, free: 8.32 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.114e-05/0.4759, allocations: 15.44 kB / 1.46 GB, free: 8.305 MB / 1.154 GB Notification: Performance of SimCode: time 3.31e-07/0.4759, allocations: 0 / 1.46 GB, free: 8.305 MB / 1.154 GB Notification: Performance of Templates: time 0.003428/0.4793, allocations: 1.338 MB / 1.461 GB, free: 6.961 MB / 1.154 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: 11.299196612089872]