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.001406/0.001406, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001484/0.001484, allocations: 173 kB / 23.49 MB, free: 1.059 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.9161/0.9161, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.123/2.123, allocations: 429.5 MB / 0.6736 GB, free: 4.008 MB / 0.6355 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.813e-06/1.813e-06, allocations: 0 / 0.8781 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.79e-05/2.972e-05, allocations: 3.188 kB / 0.8781 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002107/0.002137, allocations: 1.377 MB / 0.8795 GB, free: 5.316 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1396/0.1418, allocations: 143.7 MB / 1.02 GB, free: 5.141 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.825e-05/0.1419, allocations: 3.938 kB / 1.02 GB, free: 5.137 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 5.444e-05/0.1419, allocations: 3.938 kB / 1.02 GB, free: 5.133 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.142, allocations: 19.91 kB / 1.02 GB, free: 5.113 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.000873/0.1429, allocations: 334.2 kB / 1.02 GB, free: 4.785 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.143, allocations: 71.7 kB / 1.02 GB, free: 4.715 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 5.048e-05/0.1431, allocations: 8 kB / 1.02 GB, free: 4.707 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 7.665e-05/0.1431, allocations: 39.94 kB / 1.02 GB, free: 4.668 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.1432, allocations: 39.88 kB / 1.02 GB, free: 4.629 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.1433, allocations: 0 / 1.02 GB, free: 4.629 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006378/0.1439, allocations: 370.6 kB / 1.021 GB, free: 4.266 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 6.087e-05/0.144, allocations: 15.92 kB / 1.021 GB, free: 4.25 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 3.908e-05/0.144, allocations: 23.97 kB / 1.021 GB, free: 4.227 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0002819/0.1443, allocations: 167.5 kB / 1.021 GB, free: 4.062 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1443, allocations: 0 / 1.021 GB, free: 4.062 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1443, allocations: 0 / 1.021 GB, free: 4.062 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.1443, allocations: 4 kB / 1.021 GB, free: 4.059 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.0004171/0.1447, allocations: 420.2 kB / 1.021 GB, free: 3.613 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.1448, allocations: 8.031 kB / 1.021 GB, free: 3.605 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003571/0.1451, allocations: 60.61 kB / 1.021 GB, free: 3.547 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.303e-05/0.1452, allocations: 120.5 kB / 1.021 GB, free: 3.402 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.1452, allocations: 8.375 kB / 1.021 GB, free: 3.395 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.948e-05/0.1452, allocations: 12.31 kB / 1.021 GB, free: 3.383 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.1454, allocations: 198.1 kB / 1.022 GB, free: 3.152 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.1454, allocations: 4 kB / 1.022 GB, free: 3.148 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.1454, allocations: 4 kB / 1.022 GB, free: 3.145 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.1454, allocations: 0 / 1.022 GB, free: 3.145 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.869e-05/0.1455, allocations: 35.95 kB / 1.022 GB, free: 3.109 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001535/0.1456, allocations: 136.6 kB / 1.022 GB, free: 2.941 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.1458, allocations: 83.11 kB / 1.022 GB, free: 2.848 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.666e-05/0.1458, allocations: 27.67 kB / 1.022 GB, free: 2.816 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000147/0.146, allocations: 20.31 kB / 1.022 GB, free: 2.797 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.146, allocations: 49.33 kB / 1.022 GB, free: 2.738 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=12): time 1.373e-06/0.146, allocations: 7.938 kB / 1.022 GB, free: 2.73 MB / 0.9792 GB Notification: Performance of matching and sorting (n=19): time 0.0009317/0.147, allocations: 452.1 kB / 1.022 GB, free: 2.254 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.147, allocations: 59.36 kB / 1.022 GB, free: 2.184 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.352e-05/0.1471, allocations: 153.9 kB / 1.023 GB, free: 2.016 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.1471, allocations: 37.83 kB / 1.023 GB, free: 1.973 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 3.19e-05/0.1471, allocations: 127.2 kB / 1.023 GB, free: 1.844 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 5.294e-05/0.1472, allocations: 71.41 kB / 1.023 GB, free: 1.773 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-05/0.1472, allocations: 43.33 kB / 1.023 GB, free: 1.723 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.1473, allocations: 0.4961 MB / 1.023 GB, free: 1.215 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.047e-05/0.1474, allocations: 23.98 kB / 1.023 GB, free: 1.191 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.908e-05/0.1474, allocations: 71.27 kB / 1.023 GB, free: 1.105 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.1475, allocations: 98.73 kB / 1.024 GB, free: 0.9922 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1475, allocations: 0 / 1.024 GB, free: 0.9922 MB / 0.9792 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001523/0.1477, allocations: 141.5 kB / 1.024 GB, free: 0.8477 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.1477, allocations: 4 kB / 1.024 GB, free: 0.8438 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1477, allocations: 7.984 kB / 1.024 GB, free: 0.8359 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.1477, allocations: 4 kB / 1.024 GB, free: 0.832 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.1478, allocations: 39.92 kB / 1.024 GB, free: 0.793 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1478, allocations: 4 kB / 1.024 GB, free: 0.7891 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.909e-05/0.1479, allocations: 0 / 1.024 GB, free: 0.7891 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.1479, allocations: 12 kB / 1.024 GB, free: 0.7773 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 8.335e-05/0.148, allocations: 168.5 kB / 1.024 GB, free: 0.6016 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.894e-05/0.148, allocations: 19.94 kB / 1.024 GB, free: 0.582 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.761e-05/0.148, allocations: 16.47 kB / 1.024 GB, free: 0.5625 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.148, allocations: 4 kB / 1.024 GB, free: 0.5586 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.148, allocations: 4 kB / 1.024 GB, free: 0.5547 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.148, allocations: 0 / 1.024 GB, free: 0.5547 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.655e-05/0.1481, allocations: 136.7 kB / 1.024 GB, free: 396 kB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1481, allocations: 4 kB / 1.024 GB, free: 392 kB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.1482, allocations: 39.98 kB / 1.024 GB, free: 352 kB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1482, allocations: 0 / 1.024 GB, free: 352 kB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.1483, allocations: 0 / 1.024 GB, free: 352 kB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1483, allocations: 4 kB / 1.024 GB, free: 348 kB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1483, allocations: 0 / 1.024 GB, free: 348 kB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.1485, allocations: 197.2 kB / 1.024 GB, free: 128 kB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 4.209e-05/0.1485, allocations: 15.95 kB / 1.024 GB, free: 112 kB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.1485, allocations: 7.984 kB / 1.024 GB, free: 104 kB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.162e-05/0.1486, allocations: 7.938 kB / 1.024 GB, free: 96 kB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.557e-05/0.1486, allocations: 11.98 kB / 1.024 GB, free: 84 kB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.1486, allocations: 7.984 kB / 1.024 GB, free: 76 kB / 0.9792 GB Notification: Performance of sorting global known variables: time 4.674e-05/0.1487, allocations: 119.2 kB / 1.024 GB, free: 15.96 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.1487, allocations: 0 / 1.024 GB, free: 15.96 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001511/0.1488, allocations: 32 kB / 1.025 GB, free: 15.93 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.0001292/0.1489, allocations: 111.3 kB / 1.025 GB, free: 15.81 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001501/0.1491, allocations: 85.47 kB / 1.025 GB, free: 15.72 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1491, allocations: 4 kB / 1.025 GB, free: 15.72 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 4.576e-05/0.1491, allocations: 55.55 kB / 1.025 GB, free: 15.66 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.1494, allocations: 42.7 kB / 1.025 GB, free: 15.62 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007732/0.1501, allocations: 406.6 kB / 1.025 GB, free: 15.2 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.209e-05/0.1502, allocations: 76 kB / 1.025 GB, free: 15.1 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 7.999e-05/0.1503, allocations: 20.62 kB / 1.025 GB, free: 15.08 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.725e-05/0.1503, allocations: 20.5 kB / 1.025 GB, free: 15.06 MB / 0.9948 GB Notification: Performance of SimCode: time 8.61e-07/0.1503, allocations: 4 kB / 1.025 GB, free: 15.06 MB / 0.9948 GB Notification: Performance of Templates: time 0.003379/0.1537, allocations: 1.423 MB / 1.027 GB, free: 13.68 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.630334292072803]