Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002028/0.002028, allocations: 198.5 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.787/2.787, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_11_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_11_Buildings.Media.Examples.AirDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 63.89 kB / 1.109 GB, free: 6.582 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8663/0.8684, allocations: 168.7 MB / 1.274 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002709/0.8711, allocations: 1.333 MB / 1.275 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1773/1.048, allocations: 148.6 MB / 1.42 GB, free: 14.09 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.159e-05/1.048, allocations: 0 / 1.42 GB, free: 14.09 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 5.346e-05/1.049, allocations: 7.922 kB / 1.42 GB, free: 14.08 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0001126/1.049, allocations: 7.938 kB / 1.42 GB, free: 14.07 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001017/1.05, allocations: 346.5 kB / 1.421 GB, free: 13.73 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0001217/1.05, allocations: 67.75 kB / 1.421 GB, free: 13.67 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 4.126e-05/1.05, allocations: 0 / 1.421 GB, free: 13.67 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 5.176e-05/1.05, allocations: 27.97 kB / 1.421 GB, free: 13.64 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/1.05, allocations: 39.77 kB / 1.421 GB, free: 13.6 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/1.05, allocations: 4 kB / 1.421 GB, free: 13.6 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008597/1.051, allocations: 438.6 kB / 1.421 GB, free: 13.17 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 5.077e-05/1.051, allocations: 11.98 kB / 1.421 GB, free: 13.16 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 4.597e-05/1.051, allocations: 35.84 kB / 1.421 GB, free: 13.12 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0003137/1.051, allocations: 158.4 kB / 1.422 GB, free: 12.97 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.051, allocations: 0 / 1.422 GB, free: 12.97 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.142e-06/1.051, allocations: 0 / 1.422 GB, free: 12.97 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.312e-06/1.051, allocations: 0 / 1.422 GB, free: 12.97 MB / 1.123 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.000547/1.052, allocations: 399 kB / 1.422 GB, free: 12.54 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/1.052, allocations: 12.03 kB / 1.422 GB, free: 12.52 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004055/1.052, allocations: 36.89 kB / 1.422 GB, free: 12.49 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/1.052, allocations: 160.4 kB / 1.422 GB, free: 12.29 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/1.052, allocations: 11.94 kB / 1.422 GB, free: 12.28 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.767e-05/1.052, allocations: 11.95 kB / 1.422 GB, free: 12.27 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/1.053, allocations: 81.58 kB / 1.422 GB, free: 12.18 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/1.053, allocations: 3.984 kB / 1.422 GB, free: 12.18 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/1.053, allocations: 4 kB / 1.422 GB, free: 12.18 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/1.053, allocations: 0 / 1.422 GB, free: 12.18 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/1.053, allocations: 55.89 kB / 1.422 GB, free: 12.12 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002452/1.053, allocations: 185.5 kB / 1.422 GB, free: 11.89 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/1.053, allocations: 86.62 kB / 1.423 GB, free: 11.8 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.737e-05/1.053, allocations: 32.84 kB / 1.423 GB, free: 11.76 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003301/1.054, allocations: 178.2 kB / 1.423 GB, free: 11.55 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/1.054, allocations: 34.56 kB / 1.423 GB, free: 11.51 MB / 1.123 GB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/1.054, allocations: 0 / 1.423 GB, free: 11.51 MB / 1.123 GB Notification: Performance of matching and sorting (n=19): time 0.001514/1.055, allocations: 0.5412 MB / 1.423 GB, free: 10.91 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/1.055, allocations: 55.41 kB / 1.423 GB, free: 10.85 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.798e-05/1.055, allocations: 101.7 kB / 1.423 GB, free: 10.74 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.29e-05/1.055, allocations: 33.7 kB / 1.423 GB, free: 10.7 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 3.855e-05/1.055, allocations: 80.52 kB / 1.424 GB, free: 10.62 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 7.372e-05/1.055, allocations: 75.36 kB / 1.424 GB, free: 10.54 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.791e-05/1.056, allocations: 37.7 kB / 1.424 GB, free: 10.5 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001623/1.056, allocations: 323 kB / 1.424 GB, free: 10.18 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.168e-05/1.056, allocations: 39.97 kB / 1.424 GB, free: 10.14 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.556e-05/1.056, allocations: 67.41 kB / 1.424 GB, free: 10.06 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/1.056, allocations: 119.3 kB / 1.424 GB, free: 9.93 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/1.056, allocations: 0 / 1.424 GB, free: 9.93 MB / 1.123 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002423/1.056, allocations: 157.5 kB / 1.424 GB, free: 9.77 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/1.056, allocations: 4 kB / 1.424 GB, free: 9.766 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/1.056, allocations: 4 kB / 1.424 GB, free: 9.762 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/1.056, allocations: 4 kB / 1.424 GB, free: 9.758 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/1.056, allocations: 39.92 kB / 1.424 GB, free: 9.719 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/1.056, allocations: 0 / 1.424 GB, free: 9.719 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.156e-05/1.057, allocations: 11.94 kB / 1.424 GB, free: 9.707 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/1.057, allocations: 4 kB / 1.424 GB, free: 9.703 MB / 1.123 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.0001099/1.057, allocations: 129.7 kB / 1.424 GB, free: 9.566 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/1.057, allocations: 7.953 kB / 1.425 GB, free: 9.559 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.755e-05/1.057, allocations: 24.44 kB / 1.425 GB, free: 9.539 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/1.057, allocations: 0 / 1.425 GB, free: 9.539 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/1.057, allocations: 0 / 1.425 GB, free: 9.539 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/1.057, allocations: 7.875 kB / 1.425 GB, free: 9.531 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001987/1.057, allocations: 193.6 kB / 1.425 GB, free: 9.293 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/1.057, allocations: 0 / 1.425 GB, free: 9.293 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/1.057, allocations: 36.11 kB / 1.425 GB, free: 9.258 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/1.057, allocations: 4 kB / 1.425 GB, free: 9.254 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/1.057, allocations: 11.98 kB / 1.425 GB, free: 9.242 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/1.057, allocations: 3.938 kB / 1.425 GB, free: 9.238 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/1.057, allocations: 0 / 1.425 GB, free: 9.238 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003343/1.058, allocations: 213 kB / 1.425 GB, free: 9.016 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 9.196e-05/1.058, allocations: 93.11 kB / 1.425 GB, free: 8.906 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/1.058, allocations: 7.938 kB / 1.425 GB, free: 8.898 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/1.058, allocations: 11.98 kB / 1.425 GB, free: 8.887 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.108e-05/1.058, allocations: 11.92 kB / 1.425 GB, free: 8.875 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/1.058, allocations: 8 kB / 1.425 GB, free: 8.867 MB / 1.123 GB Notification: Performance of sorting global known variables: time 5.304e-05/1.058, allocations: 83.28 kB / 1.425 GB, free: 8.785 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.1e-07/1.058, allocations: 0 / 1.425 GB, free: 8.785 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0002214/1.058, allocations: 24 kB / 1.425 GB, free: 8.762 MB / 1.123 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.0001709/1.058, allocations: 111.7 kB / 1.425 GB, free: 8.645 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0002225/1.058, allocations: 91.91 kB / 1.425 GB, free: 8.555 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/1.058, allocations: 4 kB / 1.425 GB, free: 8.551 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 7.707e-05/1.059, allocations: 49.97 kB / 1.425 GB, free: 8.504 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/1.059, allocations: 20.09 kB / 1.425 GB, free: 8.484 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009056/1.06, allocations: 0.5017 MB / 1.426 GB, free: 7.957 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/1.06, allocations: 0.7085 MB / 1.427 GB, free: 7.223 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001/1.06, allocations: 24.62 kB / 1.427 GB, free: 7.199 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.307e-05/1.06, allocations: 15.44 kB / 1.427 GB, free: 7.184 MB / 1.123 GB Notification: Performance of SimCode: time 2.6e-07/1.06, allocations: 0 / 1.427 GB, free: 7.184 MB / 1.123 GB Notification: Performance of Templates: time 0.004072/1.064, allocations: 1.176 MB / 1.428 GB, free: 6.012 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_11_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.01019359426573]