Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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.001022/0.001022, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001008/0.001008, allocations: 185 kB / 24.09 MB, free: 416 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.9101/0.9101, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.937/1.937, allocations: 377.9 MB / 0.6239 GB, free: 8.449 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 0.812 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.473e-05/1.647e-05, allocations: 6.25 kB / 0.812 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1321/0.1321, allocations: 143.4 MB / 0.9521 GB, free: 1.582 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002431/0.1345, allocations: 2.109 MB / 0.9541 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001999/0.1347, allocations: 19.81 kB / 0.9541 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0002809/0.135, allocations: 75.41 kB / 0.9542 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001084/0.1361, allocations: 0.5557 MB / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.000746/0.1368, allocations: 438.7 kB / 0.9552 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0004987/0.1373, allocations: 0.5688 MB / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002416/0.1376, allocations: 177.5 kB / 0.9559 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004131/0.138, allocations: 307.2 kB / 0.9562 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004253/0.1384, allocations: 283 kB / 0.9565 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.282e-05/0.1385, allocations: 23.98 kB / 0.9565 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006268/0.1391, allocations: 474.6 kB / 0.9569 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 8.623e-05/0.1392, allocations: 91.72 kB / 0.957 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 6.948e-05/0.1392, allocations: 87.78 kB / 0.9571 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.000502/0.1397, allocations: 478.5 kB / 0.9576 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.1397, allocations: 0 / 0.9576 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of FrontEnd: time 8.92e-07/0.1397, allocations: 0 / 0.9576 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.1397, allocations: 0 / 0.9576 GB, free: 11.93 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005244/0.1403, allocations: 0.5965 MB / 0.9582 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.1403, allocations: 8.031 kB / 0.9582 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003668/0.1407, allocations: 112.5 kB / 0.9583 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.1409, allocations: 237 kB / 0.9585 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.1409, allocations: 12.38 kB / 0.9585 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.245e-05/0.141, allocations: 28.36 kB / 0.9585 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/0.1412, allocations: 228.6 kB / 0.9587 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.1412, allocations: 4 kB / 0.9588 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.1412, allocations: 4 kB / 0.9588 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1412, allocations: 8 kB / 0.9588 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.132e-05/0.1413, allocations: 75.56 kB / 0.9588 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.1424, allocations: 1.378 MB / 0.9602 GB, free: 9.082 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.1426, allocations: 159.4 kB / 0.9603 GB, free: 8.863 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.783e-05/0.1426, allocations: 66.41 kB / 0.9604 GB, free: 8.777 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002269/0.1428, allocations: 67.86 kB / 0.9605 GB, free: 8.711 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.1429, allocations: 49.52 kB / 0.9605 GB, free: 8.652 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=13): time 1.422e-06/0.1429, allocations: 0 / 0.9605 GB, free: 8.652 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13): time 0.0002685/0.1431, allocations: 129.3 kB / 0.9606 GB, free: 8.52 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.1432, allocations: 166.1 kB / 0.9608 GB, free: 8.32 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.1433, allocations: 242.9 kB / 0.961 GB, free: 8.066 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.1433, allocations: 25.7 kB / 0.961 GB, free: 8.035 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 8.063e-05/0.1434, allocations: 211.1 kB / 0.9612 GB, free: 7.824 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.1434, allocations: 47.56 kB / 0.9613 GB, free: 7.777 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.146e-05/0.1435, allocations: 51.84 kB / 0.9613 GB, free: 7.719 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.1436, allocations: 0.5079 MB / 0.9618 GB, free: 7.199 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.558e-05/0.1436, allocations: 11.98 kB / 0.9619 GB, free: 7.188 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.1437, allocations: 218.4 kB / 0.9621 GB, free: 6.91 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.1438, allocations: 129 kB / 0.9622 GB, free: 6.746 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1438, allocations: 4 kB / 0.9622 GB, free: 6.742 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001694/0.144, allocations: 149.2 kB / 0.9623 GB, free: 6.59 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.144, allocations: 4 kB / 0.9623 GB, free: 6.586 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.83e-06/0.144, allocations: 7.938 kB / 0.9623 GB, free: 6.578 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.144, allocations: 4 kB / 0.9623 GB, free: 6.574 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.189e-05/0.1441, allocations: 35.92 kB / 0.9624 GB, free: 6.539 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1441, allocations: 8.188 kB / 0.9624 GB, free: 6.531 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.753e-05/0.1442, allocations: 23.89 kB / 0.9624 GB, free: 6.508 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.1442, allocations: 11.98 kB / 0.9624 GB, free: 6.496 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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.423e-05/0.1443, allocations: 168.5 kB / 0.9626 GB, free: 6.32 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.929e-05/0.1443, allocations: 31.84 kB / 0.9626 GB, free: 6.289 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001683/0.1445, allocations: 130.8 kB / 0.9627 GB, free: 6.148 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1445, allocations: 4 kB / 0.9627 GB, free: 6.145 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.1445, allocations: 3.938 kB / 0.9627 GB, free: 6.141 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.1445, allocations: 0 / 0.9627 GB, free: 6.141 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000487/0.145, allocations: 0.9223 MB / 0.9636 GB, free: 5.156 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.145, allocations: 0 / 0.9636 GB, free: 5.156 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.839e-05/0.1451, allocations: 20.19 kB / 0.9637 GB, free: 5.137 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.1451, allocations: 7.938 kB / 0.9637 GB, free: 5.129 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.1451, allocations: 11.98 kB / 0.9637 GB, free: 5.117 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1451, allocations: 0 / 0.9637 GB, free: 5.117 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1451, allocations: 4 kB / 0.9637 GB, free: 5.113 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.1453, allocations: 309.7 kB / 0.964 GB, free: 4.766 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.282e-05/0.1453, allocations: 27.83 kB / 0.964 GB, free: 4.738 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.1453, allocations: 7.953 kB / 0.964 GB, free: 4.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.861e-05/0.1454, allocations: 4 kB / 0.964 GB, free: 4.727 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.064e-05/0.1454, allocations: 23.94 kB / 0.964 GB, free: 4.703 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.1454, allocations: 4 kB / 0.964 GB, free: 4.699 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.707e-05/0.1455, allocations: 180 kB / 0.9642 GB, free: 4.523 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.1455, allocations: 0 / 0.9642 GB, free: 4.523 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000265/0.1458, allocations: 91.75 kB / 0.9643 GB, free: 4.434 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (senStr.s) * 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 (11): * Single equations (assignments): 11 * 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.0002163/0.146, allocations: 171 kB / 0.9645 GB, free: 4.258 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001209/0.1461, allocations: 79.52 kB / 0.9645 GB, free: 4.176 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.1461, allocations: 3.938 kB / 0.9645 GB, free: 4.172 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.452e-05/0.1461, allocations: 36.42 kB / 0.9646 GB, free: 4.133 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.1464, allocations: 81.03 kB / 0.9647 GB, free: 4.055 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005823/0.147, allocations: 472.7 kB / 0.9651 GB, free: 3.535 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.96e-05/0.1471, allocations: 96.31 kB / 0.9652 GB, free: 3.422 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 7.467e-05/0.1471, allocations: 33.73 kB / 0.9652 GB, free: 3.387 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.1473, allocations: 126.2 kB / 0.9654 GB, free: 3.262 MB / 0.9167 GB Notification: Performance of SimCode: time 4.71e-07/0.1473, allocations: 3.938 kB / 0.9654 GB, free: 3.258 MB / 0.9167 GB Notification: Performance of Templates: time 0.005894/0.1532, allocations: 4.38 MB / 0.9696 GB, free: 14.97 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.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.37628253782168]