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.001583/0.001583, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.002087/0.002087, allocations: 169 kB / 23.27 MB, free: 1.223 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.9599/0.9599, allocations: 177.2 MB / 203.7 MB, free: 5.52 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 2.334/2.334, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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.994e-06/1.994e-06, allocations: 0 / 0.8897 GB, free: 9.809 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.257e-05/3.457e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.805 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.003538/0.003573, allocations: 1.394 MB / 0.8911 GB, free: 8.402 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1642/0.1678, allocations: 141.2 MB / 1.029 GB, free: 10.63 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.397e-05/0.1678, allocations: 4 kB / 1.029 GB, free: 10.62 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 4.285e-05/0.1679, allocations: 0 / 1.029 GB, free: 10.62 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 9.394e-05/0.168, allocations: 19.84 kB / 1.029 GB, free: 10.61 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008369/0.1688, allocations: 338.2 kB / 1.029 GB, free: 10.27 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 8.694e-05/0.1689, allocations: 67.75 kB / 1.029 GB, free: 10.21 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.39e-05/0.1689, allocations: 4 kB / 1.029 GB, free: 10.2 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.53e-05/0.169, allocations: 43.89 kB / 1.029 GB, free: 10.16 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.822e-05/0.1691, allocations: 23.95 kB / 1.029 GB, free: 10.14 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.1691, allocations: 4 kB / 1.029 GB, free: 10.13 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004933/0.1696, allocations: 378.6 kB / 1.03 GB, free: 9.762 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 4.668e-05/0.1696, allocations: 19.91 kB / 1.03 GB, free: 9.742 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 2.768e-05/0.1696, allocations: 23.97 kB / 1.03 GB, free: 9.719 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.1699, allocations: 163.5 kB / 1.03 GB, free: 9.559 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1699, allocations: 8 kB / 1.03 GB, free: 9.551 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1699, allocations: 0 / 1.03 GB, free: 9.551 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.1699, allocations: 0 / 1.03 GB, free: 9.551 MB / 0.9948 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.0003573/0.1702, allocations: 415.8 kB / 1.03 GB, free: 9.109 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.1703, allocations: 8.625 kB / 1.03 GB, free: 9.102 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002664/0.1705, allocations: 64.61 kB / 1.031 GB, free: 9.039 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.531e-05/0.1706, allocations: 112.5 kB / 1.031 GB, free: 8.902 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.1706, allocations: 8.375 kB / 1.031 GB, free: 8.895 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.1706, allocations: 16.38 kB / 1.031 GB, free: 8.879 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.1708, allocations: 198 kB / 1.031 GB, free: 8.648 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.26e-06/0.1708, allocations: 0 / 1.031 GB, free: 8.648 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.1708, allocations: 8 kB / 1.031 GB, free: 8.641 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.1708, allocations: 0 / 1.031 GB, free: 8.641 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.033e-05/0.1708, allocations: 27.91 kB / 1.031 GB, free: 8.613 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001152/0.1709, allocations: 125.1 kB / 1.031 GB, free: 8.465 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.1711, allocations: 75.09 kB / 1.031 GB, free: 8.379 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.205e-05/0.1711, allocations: 19.77 kB / 1.031 GB, free: 8.355 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001092/0.1712, allocations: 35.97 kB / 1.031 GB, free: 8.32 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.1712, allocations: 33.39 kB / 1.031 GB, free: 8.277 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=12): time 9.51e-07/0.1712, allocations: 0 / 1.031 GB, free: 8.277 MB / 0.9948 GB Notification: Performance of matching and sorting (n=19): time 0.0006751/0.1719, allocations: 436.1 kB / 1.032 GB, free: 7.816 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.468e-05/0.172, allocations: 63.34 kB / 1.032 GB, free: 7.742 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.609e-05/0.172, allocations: 157.9 kB / 1.032 GB, free: 7.57 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.172, allocations: 33.7 kB / 1.032 GB, free: 7.531 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 3.038e-05/0.1721, allocations: 127.2 kB / 1.032 GB, free: 7.402 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.544e-05/0.1721, allocations: 71.38 kB / 1.032 GB, free: 7.332 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.1722, allocations: 47.34 kB / 1.032 GB, free: 7.277 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 9.995e-05/0.1723, allocations: 0.4884 MB / 1.033 GB, free: 6.777 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.089e-05/0.1723, allocations: 15.98 kB / 1.033 GB, free: 6.762 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.352e-05/0.1723, allocations: 65.02 kB / 1.033 GB, free: 6.684 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.646e-05/0.1724, allocations: 98.64 kB / 1.033 GB, free: 6.57 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1724, allocations: 8.062 kB / 1.033 GB, free: 6.562 MB / 0.9948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001185/0.1725, allocations: 125.7 kB / 1.033 GB, free: 6.434 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.1725, allocations: 8 kB / 1.033 GB, free: 6.426 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1725, allocations: 3.984 kB / 1.033 GB, free: 6.422 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.1726, allocations: 7.984 kB / 1.033 GB, free: 6.414 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.779e-05/0.1726, allocations: 35.92 kB / 1.033 GB, free: 6.379 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1726, allocations: 4 kB / 1.033 GB, free: 6.375 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.691e-05/0.1727, allocations: 4 kB / 1.033 GB, free: 6.371 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.1727, allocations: 8 kB / 1.033 GB, free: 6.363 MB / 0.9948 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.123e-05/0.1728, allocations: 168.5 kB / 1.033 GB, free: 6.188 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.684e-05/0.1728, allocations: 19.95 kB / 1.033 GB, free: 6.168 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.287e-05/0.1728, allocations: 20.47 kB / 1.033 GB, free: 6.145 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1728, allocations: 0 / 1.033 GB, free: 6.145 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.1728, allocations: 0 / 1.033 GB, free: 6.145 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1728, allocations: 3.938 kB / 1.033 GB, free: 6.141 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.464e-05/0.1729, allocations: 125.2 kB / 1.033 GB, free: 5.992 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.1729, allocations: 0 / 1.033 GB, free: 5.992 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.173, allocations: 35.92 kB / 1.033 GB, free: 5.957 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.173, allocations: 7.938 kB / 1.033 GB, free: 5.949 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.173, allocations: 4 kB / 1.033 GB, free: 5.945 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.173, allocations: 0 / 1.033 GB, free: 5.945 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.173, allocations: 4 kB / 1.033 GB, free: 5.941 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002854/0.1733, allocations: 178.3 kB / 1.033 GB, free: 5.746 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.239e-05/0.1733, allocations: 15.88 kB / 1.033 GB, free: 5.73 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.1733, allocations: 4 kB / 1.033 GB, free: 5.727 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.473e-05/0.1734, allocations: 8 kB / 1.033 GB, free: 5.719 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.667e-05/0.1734, allocations: 11.97 kB / 1.033 GB, free: 5.707 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.1734, allocations: 4 kB / 1.033 GB, free: 5.703 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 2.669e-05/0.1734, allocations: 123.2 kB / 1.034 GB, free: 5.582 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1734, allocations: 0 / 1.034 GB, free: 5.582 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001379/0.1736, allocations: 35.94 kB / 1.034 GB, free: 5.547 MB / 0.9948 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.0001065/0.1737, allocations: 103.3 kB / 1.034 GB, free: 5.434 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001195/0.1738, allocations: 79.81 kB / 1.034 GB, free: 5.352 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.1738, allocations: 4 kB / 1.034 GB, free: 5.348 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 4.08e-05/0.1738, allocations: 43.59 kB / 1.034 GB, free: 5.301 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001851/0.174, allocations: 40.09 kB / 1.034 GB, free: 5.262 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005711/0.1746, allocations: 410.1 kB / 1.034 GB, free: 4.832 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.209e-05/0.1746, allocations: 68.02 kB / 1.034 GB, free: 4.742 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 6.032e-05/0.1747, allocations: 24.62 kB / 1.034 GB, free: 4.719 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.599e-05/0.1748, allocations: 114.2 kB / 1.034 GB, free: 4.605 MB / 0.9948 GB Notification: Performance of SimCode: time 6.81e-07/0.1748, allocations: 0 / 1.034 GB, free: 4.605 MB / 0.9948 GB Notification: Performance of Templates: time 0.003037/0.1778, allocations: 1.62 MB / 1.036 GB, free: 3.023 MB / 0.9948 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirDerivativeCheck.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.54470308823511]