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.0009904/0.0009904, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.0009522/0.0009522, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.9232/0.9232, allocations: 177.2 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.838/1.838, allocations: 377.9 MB / 0.624 GB, free: 8.344 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 0.76 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.142e-05/2.309e-05, allocations: 2.312 kB / 0.76 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.005275/0.005298, allocations: 1.38 MB / 0.7613 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.1485/0.1538, allocations: 143.3 MB / 0.9013 GB, free: 5.605 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.981e-05/0.1539, allocations: 0 / 0.9013 GB, free: 5.605 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 4.647e-05/0.1539, allocations: 3.984 kB / 0.9013 GB, free: 5.602 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 9.48e-05/0.154, allocations: 19.84 kB / 0.9013 GB, free: 5.582 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007917/0.1548, allocations: 342.2 kB / 0.9017 GB, free: 5.246 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 9.53e-05/0.1549, allocations: 71.62 kB / 0.9017 GB, free: 5.18 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.229e-05/0.1549, allocations: 0 / 0.9017 GB, free: 5.18 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.484e-05/0.155, allocations: 43.89 kB / 0.9018 GB, free: 5.137 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 8.636e-05/0.1551, allocations: 27.94 kB / 0.9018 GB, free: 5.109 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.1551, allocations: 4 kB / 0.9018 GB, free: 5.105 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005185/0.1556, allocations: 374.5 kB / 0.9022 GB, free: 4.738 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.064e-05/0.1557, allocations: 23.97 kB / 0.9022 GB, free: 4.715 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.048e-05/0.1557, allocations: 23.91 kB / 0.9022 GB, free: 4.691 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.1559, allocations: 171.4 kB / 0.9024 GB, free: 4.523 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1559, allocations: 0 / 0.9024 GB, free: 4.523 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1559, allocations: 0 / 0.9024 GB, free: 4.523 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.1559, allocations: 0 / 0.9024 GB, free: 4.523 MB / 0.8542 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.0003156/0.1562, allocations: 292.6 kB / 0.9027 GB, free: 4.215 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 2.966e-05/0.1563, allocations: 8.031 kB / 0.9027 GB, free: 4.207 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002637/0.1565, allocations: 60.7 kB / 0.9027 GB, free: 4.148 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.508e-05/0.1566, allocations: 117.7 kB / 0.9028 GB, free: 4.008 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.1566, allocations: 4.359 kB / 0.9028 GB, free: 4.004 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.1566, allocations: 16.33 kB / 0.9028 GB, free: 3.988 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.1568, allocations: 208.8 kB / 0.903 GB, free: 3.746 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-06/0.1568, allocations: 0 / 0.903 GB, free: 3.746 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.1568, allocations: 4 kB / 0.9031 GB, free: 3.742 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.1568, allocations: 0 / 0.9031 GB, free: 3.742 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.053e-05/0.1568, allocations: 27.91 kB / 0.9031 GB, free: 3.715 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001015/0.1569, allocations: 86.69 kB / 0.9032 GB, free: 3.613 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.157, allocations: 61.36 kB / 0.9032 GB, free: 3.543 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.12e-05/0.1571, allocations: 24.86 kB / 0.9032 GB, free: 3.516 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000109/0.1572, allocations: 19.98 kB / 0.9033 GB, free: 3.496 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.1572, allocations: 38.56 kB / 0.9033 GB, free: 3.449 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 1.062e-06/0.1572, allocations: 0 / 0.9033 GB, free: 3.449 MB / 0.8542 GB Notification: Performance of matching and sorting (n=19): time 0.0008577/0.1581, allocations: 494.4 kB / 0.9038 GB, free: 2.934 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.1581, allocations: 55.41 kB / 0.9038 GB, free: 2.867 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.604e-05/0.1581, allocations: 102.7 kB / 0.9039 GB, free: 2.754 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.1581, allocations: 29.7 kB / 0.9039 GB, free: 2.719 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.139e-05/0.1582, allocations: 92.62 kB / 0.904 GB, free: 2.625 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.493e-05/0.1582, allocations: 67.38 kB / 0.9041 GB, free: 2.559 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.1582, allocations: 41.69 kB / 0.9041 GB, free: 2.512 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.46e-05/0.1583, allocations: 326.8 kB / 0.9045 GB, free: 2.184 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.966e-05/0.1583, allocations: 15.98 kB / 0.9045 GB, free: 2.168 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.907e-05/0.1584, allocations: 52.83 kB / 0.9045 GB, free: 2.105 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.102e-05/0.1585, allocations: 82.14 kB / 0.9046 GB, free: 2.012 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1585, allocations: 0 / 0.9046 GB, free: 2.012 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001055/0.1586, allocations: 109.5 kB / 0.9047 GB, free: 1.898 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.1586, allocations: 4 kB / 0.9047 GB, free: 1.895 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1586, allocations: 4 kB / 0.9047 GB, free: 1.891 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.1586, allocations: 4 kB / 0.9047 GB, free: 1.887 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000368/0.159, allocations: 47.84 kB / 0.9048 GB, free: 1.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.159, allocations: 0 / 0.9048 GB, free: 1.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.943e-05/0.159, allocations: 8 kB / 0.9048 GB, free: 1.832 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.159, allocations: 4 kB / 0.9048 GB, free: 1.828 MB / 0.8542 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 6.047e-05/0.1591, allocations: 128.6 kB / 0.9049 GB, free: 1.691 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.936e-05/0.1591, allocations: 15.92 kB / 0.9049 GB, free: 1.676 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.903e-05/0.1591, allocations: 16.47 kB / 0.9049 GB, free: 1.656 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1591, allocations: 4 kB / 0.9049 GB, free: 1.652 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.1591, allocations: 0 / 0.9049 GB, free: 1.652 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1591, allocations: 7.984 kB / 0.9049 GB, free: 1.645 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.373e-05/0.1592, allocations: 85.88 kB / 0.905 GB, free: 1.543 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1592, allocations: 0 / 0.905 GB, free: 1.543 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.1593, allocations: 35.98 kB / 0.9051 GB, free: 1.508 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1593, allocations: 3.938 kB / 0.9051 GB, free: 1.504 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.1593, allocations: 8 kB / 0.9051 GB, free: 1.496 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1593, allocations: 3.938 kB / 0.9051 GB, free: 1.492 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1593, allocations: 0 / 0.9051 GB, free: 1.492 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.1595, allocations: 153.5 kB / 0.9052 GB, free: 1.324 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.491e-05/0.1595, allocations: 11.95 kB / 0.9052 GB, free: 1.312 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.1595, allocations: 11.92 kB / 0.9052 GB, free: 1.301 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.256e-05/0.1595, allocations: 8 kB / 0.9052 GB, free: 1.293 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.617e-05/0.1596, allocations: 8.172 kB / 0.9053 GB, free: 1.285 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.1596, allocations: 12 kB / 0.9053 GB, free: 1.273 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 1.051e-05/0.1596, allocations: 8.844 kB / 0.9053 GB, free: 1.262 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.1596, allocations: 0 / 0.9053 GB, free: 1.262 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001192/0.1597, allocations: 28 kB / 0.9053 GB, free: 1.234 MB / 0.8542 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.0001042/0.1598, allocations: 92.45 kB / 0.9054 GB, free: 1.133 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.309e-05/0.1599, allocations: 72.75 kB / 0.9055 GB, free: 1.059 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.1599, allocations: 4 kB / 0.9055 GB, free: 1.055 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.984e-05/0.1599, allocations: 36.78 kB / 0.9055 GB, free: 1.016 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001367/0.1601, allocations: 31.97 kB / 0.9055 GB, free: 0.9844 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005203/0.1606, allocations: 335.4 kB / 0.9058 GB, free: 0.6289 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.488e-05/0.1606, allocations: 71.94 kB / 0.9059 GB, free: 0.5391 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.057e-05/0.1607, allocations: 20.64 kB / 0.9059 GB, free: 0.5195 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.985e-05/0.1608, allocations: 83.36 kB / 0.906 GB, free: 448 kB / 0.8542 GB Notification: Performance of SimCode: time 7.41e-07/0.1608, allocations: 0 / 0.906 GB, free: 448 kB / 0.8542 GB Notification: Performance of Templates: time 0.003199/0.164, allocations: 1.624 MB / 0.9076 GB, free: 14.85 MB / 0.8698 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.043586116749793]