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.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.000814/0.000814, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008459/0.0008459, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8735/0.8735, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.751/1.751, allocations: 389 MB / 0.6338 GB, free: 12.74 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Media.Examples.AirDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 1.001 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.925e-05/3.095e-05, allocations: 6.219 kB / 1.001 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002703/0.002734, allocations: 1.339 MB / 1.002 GB, free: 10.6 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.5798/0.5826, allocations: 130.1 MB / 1.129 GB, free: 4.605 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.033e-05/0.5826, allocations: 0 / 1.129 GB, free: 4.605 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 4.674e-05/0.5827, allocations: 2.953 kB / 1.129 GB, free: 4.605 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.5828, allocations: 21.33 kB / 1.129 GB, free: 4.59 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009231/0.5837, allocations: 331.9 kB / 1.13 GB, free: 4.426 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.5838, allocations: 65.25 kB / 1.13 GB, free: 4.402 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 3.917e-05/0.5838, allocations: 9.391 kB / 1.13 GB, free: 4.395 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 6.089e-05/0.5839, allocations: 42.72 kB / 1.13 GB, free: 4.383 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 9.641e-05/0.584, allocations: 28.64 kB / 1.13 GB, free: 4.375 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.584, allocations: 2.281 kB / 1.13 GB, free: 4.375 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006486/0.5846, allocations: 377.7 kB / 1.13 GB, free: 4.223 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 6.078e-05/0.5847, allocations: 19.77 kB / 1.13 GB, free: 4.211 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 3.871e-05/0.5847, allocations: 21.94 kB / 1.13 GB, free: 4.203 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0003169/0.5851, allocations: 170.4 kB / 1.13 GB, free: 4.145 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.5851, allocations: 0.875 kB / 1.13 GB, free: 4.145 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.904e-06/0.5851, allocations: 0 / 1.13 GB, free: 4.145 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.5851, allocations: 4 kB / 1.13 GB, free: 4.141 MB / 0.9792 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.000431/0.5855, allocations: 316.6 kB / 1.131 GB, free: 3.844 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.5855, allocations: 10.28 kB / 1.131 GB, free: 3.844 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002907/0.5858, allocations: 32.89 kB / 1.131 GB, free: 3.844 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.975e-05/0.5859, allocations: 108.1 kB / 1.131 GB, free: 3.715 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.5859, allocations: 7.125 kB / 1.131 GB, free: 3.711 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.34e-05/0.586, allocations: 17.58 kB / 1.131 GB, free: 3.703 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.5861, allocations: 208.5 kB / 1.131 GB, free: 3.5 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.5862, allocations: 4 kB / 1.131 GB, free: 3.496 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.5862, allocations: 5.047 kB / 1.131 GB, free: 3.492 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.5862, allocations: 6.188 kB / 1.131 GB, free: 3.488 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.274e-05/0.5862, allocations: 44.92 kB / 1.131 GB, free: 3.469 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001535/0.5864, allocations: 122.7 kB / 1.131 GB, free: 3.332 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.5866, allocations: 88.48 kB / 1.131 GB, free: 3.277 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.999e-05/0.5866, allocations: 30.69 kB / 1.131 GB, free: 3.258 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001416/0.5867, allocations: 23.36 kB / 1.131 GB, free: 3.25 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.5868, allocations: 44.72 kB / 1.131 GB, free: 3.199 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=12): time 1.893e-06/0.5868, allocations: 0 / 1.131 GB, free: 3.199 MB / 0.9792 GB Notification: Performance of matching and sorting (n=19): time 0.0009685/0.5877, allocations: 481.9 kB / 1.132 GB, free: 2.891 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.5878, allocations: 53.78 kB / 1.132 GB, free: 2.828 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.018e-05/0.5878, allocations: 101.2 kB / 1.132 GB, free: 2.723 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.5878, allocations: 32.14 kB / 1.132 GB, free: 2.688 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 2.334e-05/0.5879, allocations: 84.52 kB / 1.132 GB, free: 2.602 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 5.202e-05/0.5879, allocations: 70.14 kB / 1.132 GB, free: 2.543 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.957e-05/0.588, allocations: 40.58 kB / 1.132 GB, free: 2.512 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 7.926e-05/0.588, allocations: 321.2 kB / 1.132 GB, free: 2.191 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.345e-05/0.5881, allocations: 36.55 kB / 1.132 GB, free: 2.176 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.227e-05/0.5882, allocations: 71.38 kB / 1.132 GB, free: 2.121 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.5883, allocations: 120.1 kB / 1.133 GB, free: 2.043 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.5883, allocations: 0 / 1.133 GB, free: 2.043 MB / 0.9792 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001838/0.5885, allocations: 162.1 kB / 1.133 GB, free: 1.953 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.5885, allocations: 5.438 kB / 1.133 GB, free: 1.953 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.5885, allocations: 9.109 kB / 1.133 GB, free: 1.945 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.5885, allocations: 2.219 kB / 1.133 GB, free: 1.945 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.5887, allocations: 38.55 kB / 1.133 GB, free: 1.938 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.5887, allocations: 2.281 kB / 1.133 GB, free: 1.938 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.105e-05/0.5887, allocations: 5.812 kB / 1.133 GB, free: 1.934 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.5887, allocations: 5.906 kB / 1.133 GB, free: 1.934 MB / 0.9792 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 7.174e-05/0.5888, allocations: 126.7 kB / 1.133 GB, free: 1.805 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.507e-05/0.5888, allocations: 4.688 kB / 1.133 GB, free: 1.805 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.528e-05/0.5888, allocations: 17.59 kB / 1.133 GB, free: 1.793 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.5888, allocations: 6.156 kB / 1.133 GB, free: 1.789 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.5888, allocations: 0 / 1.133 GB, free: 1.789 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.5888, allocations: 3.984 kB / 1.133 GB, free: 1.785 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.738e-05/0.5889, allocations: 134.9 kB / 1.133 GB, free: 1.641 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5889, allocations: 0 / 1.133 GB, free: 1.641 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.5891, allocations: 38.02 kB / 1.133 GB, free: 1.633 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.5891, allocations: 1.094 kB / 1.133 GB, free: 1.633 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.5891, allocations: 6.375 kB / 1.133 GB, free: 1.629 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.5891, allocations: 0 / 1.133 GB, free: 1.629 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5891, allocations: 1.188 kB / 1.133 GB, free: 1.629 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.5893, allocations: 216.3 kB / 1.133 GB, free: 1.488 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 4.475e-05/0.5894, allocations: 17.78 kB / 1.133 GB, free: 1.477 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.5894, allocations: 5.438 kB / 1.133 GB, free: 1.473 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.342e-05/0.5894, allocations: 8.094 kB / 1.133 GB, free: 1.469 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.227e-05/0.5895, allocations: 11.42 kB / 1.133 GB, free: 1.461 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.5895, allocations: 12.61 kB / 1.133 GB, free: 1.453 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 2.429e-05/0.5895, allocations: 77.22 kB / 1.133 GB, free: 1.379 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.5895, allocations: 0 / 1.133 GB, free: 1.379 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0001577/0.5897, allocations: 27.03 kB / 1.134 GB, free: 1.375 MB / 0.9792 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.000125/0.5898, allocations: 110.7 kB / 1.134 GB, free: 1.277 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0001714/0.59, allocations: 103.4 kB / 1.134 GB, free: 1.238 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.59, allocations: 1.25 kB / 1.134 GB, free: 1.238 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 5.487e-05/0.59, allocations: 50.56 kB / 1.134 GB, free: 1.219 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.5902, allocations: 16.09 kB / 1.134 GB, free: 1.211 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005764/0.5908, allocations: 426.5 kB / 1.134 GB, free: 0.8633 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.085e-05/0.5909, allocations: 85.92 kB / 1.134 GB, free: 0.7812 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.329e-05/0.5909, allocations: 17.66 kB / 1.134 GB, free: 0.7734 MB / 0.9792 GB Notification: Performance of SimCode: time 7.51e-07/0.5909, allocations: 3.938 kB / 1.134 GB, free: 0.7695 MB / 0.9792 GB Notification: Performance of Templates: time 0.002477/0.5934, allocations: 1.35 MB / 1.136 GB, free: 76 kB / 0.9792 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.21441138163209]