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.001769/0.001769, allocations: 79.2 kB / 19.18 MB, free: 2.516 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.002118/0.002118, allocations: 163.4 kB / 22.46 MB, free: 5.375 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.51/1.51, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 2.934/2.934, allocations: 389 MB / 0.633 GB, free: 0.9883 MB / 0.5919 GB " [Timeout remaining time 176] 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.833e-06/1.833e-06, allocations: 0 / 1 GB, free: 6.223 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.18e-05/3.363e-05, allocations: 6.281 kB / 1 GB, free: 6.215 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.003354/0.003388, allocations: 1.327 MB / 1.001 GB, free: 4.879 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.7659/0.7692, allocations: 130.1 MB / 1.128 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.226e-05/0.7693, allocations: 4 kB / 1.128 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.76e-05/0.7693, allocations: 5.344 kB / 1.128 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.7695, allocations: 12.64 kB / 1.128 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.7706, allocations: 337.4 kB / 1.129 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.7707, allocations: 65.95 kB / 1.129 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.077e-05/0.7707, allocations: 2.875 kB / 1.129 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.609e-05/0.7708, allocations: 45.25 kB / 1.129 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.7709, allocations: 32.22 kB / 1.129 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.7709, allocations: 3.281 kB / 1.129 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008215/0.7718, allocations: 377.3 kB / 1.129 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.001e-05/0.7718, allocations: 18.5 kB / 1.129 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.537e-05/0.7719, allocations: 23.89 kB / 1.129 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003814/0.7723, allocations: 169.6 kB / 1.129 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.7723, allocations: 0.6562 kB / 1.129 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7723, allocations: 0 / 1.129 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.461e-06/0.7723, allocations: 1.156 kB / 1.129 GB, free: 12.37 MB / 0.9981 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.0004604/0.7727, allocations: 314.4 kB / 1.13 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.7728, allocations: 10.06 kB / 1.13 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004378/0.7732, allocations: 32.22 kB / 1.13 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.92e-05/0.7733, allocations: 111.8 kB / 1.13 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.7733, allocations: 4.422 kB / 1.13 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/0.7733, allocations: 17.2 kB / 1.13 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.7735, allocations: 216 kB / 1.13 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.7735, allocations: 0 / 1.13 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.7736, allocations: 1.562 kB / 1.13 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.7736, allocations: 6.109 kB / 1.13 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.7737, allocations: 48.31 kB / 1.13 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001497/0.7738, allocations: 123.7 kB / 1.13 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.774, allocations: 86.3 kB / 1.13 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.422e-05/0.7741, allocations: 33.72 kB / 1.13 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000186/0.7742, allocations: 23.3 kB / 1.13 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.7743, allocations: 39.12 kB / 1.13 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.7743, allocations: 0 / 1.13 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.001296/0.7756, allocations: 483.1 kB / 1.131 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.7756, allocations: 62.66 kB / 1.131 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.891e-05/0.7756, allocations: 97.44 kB / 1.131 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.7757, allocations: 30.14 kB / 1.131 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.426e-05/0.7757, allocations: 81.33 kB / 1.131 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.999e-05/0.7757, allocations: 74.5 kB / 1.131 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.281e-05/0.7758, allocations: 39.91 kB / 1.131 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.157e-05/0.7758, allocations: 322.6 kB / 1.132 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.604e-05/0.7759, allocations: 38.67 kB / 1.132 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.345e-05/0.776, allocations: 69.89 kB / 1.132 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.7761, allocations: 117.9 kB / 1.132 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.7761, allocations: 4.125 kB / 1.132 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002499/0.7764, allocations: 159 kB / 1.132 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.7764, allocations: 5.094 kB / 1.132 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.7764, allocations: 1.125 kB / 1.132 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.7764, allocations: 3.062 kB / 1.132 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.7766, allocations: 44.11 kB / 1.132 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.7766, allocations: 2.281 kB / 1.132 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.788e-05/0.7766, allocations: 4.922 kB / 1.132 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.7767, allocations: 6 kB / 1.132 GB, free: 10.59 MB / 0.9981 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.103e-05/0.7767, allocations: 126.9 kB / 1.132 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.7767, allocations: 8.594 kB / 1.132 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.626e-05/0.7768, allocations: 19.28 kB / 1.132 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.7768, allocations: 2.281 kB / 1.132 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.7768, allocations: 0.6562 kB / 1.132 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.7768, allocations: 1.562 kB / 1.132 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.7769, allocations: 134.2 kB / 1.132 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.7769, allocations: 2.078 kB / 1.132 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/0.7771, allocations: 38.31 kB / 1.132 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.7771, allocations: 5.125 kB / 1.132 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.7771, allocations: 1.5 kB / 1.132 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.7771, allocations: 6.734 kB / 1.132 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.7771, allocations: 6.125 kB / 1.132 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002938/0.7774, allocations: 214.7 kB / 1.133 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.281e-05/0.7775, allocations: 13.88 kB / 1.133 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.7775, allocations: 6.203 kB / 1.133 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.7776, allocations: 7.75 kB / 1.133 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.173e-05/0.7777, allocations: 11 kB / 1.133 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.7777, allocations: 8.484 kB / 1.133 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.667e-05/0.7777, allocations: 78.98 kB / 1.133 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.7777, allocations: 0 / 1.133 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002321/0.7779, allocations: 32.75 kB / 1.133 GB, free: 10.17 MB / 0.9981 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.0001138/0.778, allocations: 104.5 kB / 1.133 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002045/0.7782, allocations: 102.3 kB / 1.133 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7782, allocations: 0 / 1.133 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.069e-05/0.7783, allocations: 48.05 kB / 1.133 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.7786, allocations: 21.83 kB / 1.133 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006177/0.7792, allocations: 405.1 kB / 1.133 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.938e-05/0.7793, allocations: 88.03 kB / 1.133 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001011/0.7794, allocations: 27.55 kB / 1.133 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.852e-05/0.7794, allocations: 17 kB / 1.134 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/0.7794, allocations: 0 / 1.134 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of Templates: time 0.004269/0.7837, allocations: 1.068 MB / 1.135 GB, free: 9.57 MB / 0.9981 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: 8.999569784849882]