Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001003/0.001003, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001015/0.001015, allocations: 169 kB / 23.82 MB, free: 0.7461 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.9874/0.9874, allocations: 177.1 MB / 204.2 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.901/1.901, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.807e-05/2.969e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1316/0.1317, allocations: 146.1 MB / 0.9298 GB, free: 9.871 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.002866/0.1345, allocations: 2.122 MB / 0.9319 GB, free: 7.746 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002946/0.1348, allocations: 19.81 kB / 0.9319 GB, free: 7.727 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.000386/0.1352, allocations: 75.34 kB / 0.932 GB, free: 7.652 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001305/0.1365, allocations: 0.5518 MB / 0.9325 GB, free: 7.098 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.1376, allocations: 442.7 kB / 0.9329 GB, free: 6.664 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0006762/0.1382, allocations: 0.5688 MB / 0.9335 GB, free: 6.094 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003228/0.1386, allocations: 171.4 kB / 0.9337 GB, free: 5.926 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004745/0.139, allocations: 319.1 kB / 0.934 GB, free: 5.613 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005442/0.1396, allocations: 287.1 kB / 0.9342 GB, free: 5.332 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 3.612e-05/0.1396, allocations: 16 kB / 0.9342 GB, free: 5.316 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007354/0.1404, allocations: 478.6 kB / 0.9347 GB, free: 4.848 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 9.976e-05/0.1405, allocations: 95.7 kB / 0.9348 GB, free: 4.754 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 8.779e-05/0.1405, allocations: 87.78 kB / 0.9349 GB, free: 4.668 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0008203/0.1414, allocations: 474.5 kB / 0.9353 GB, free: 4.203 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1414, allocations: 4 kB / 0.9353 GB, free: 4.199 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1414, allocations: 0 / 0.9353 GB, free: 4.199 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.796e-06/0.1414, allocations: 0 / 0.9353 GB, free: 4.199 MB / 0.8855 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.0007061/0.1421, allocations: 0.5888 MB / 0.9359 GB, free: 3.574 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.1421, allocations: 8.031 kB / 0.9359 GB, free: 3.566 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004648/0.1426, allocations: 116.5 kB / 0.936 GB, free: 3.453 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003398/0.1429, allocations: 245 kB / 0.9363 GB, free: 3.188 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.143, allocations: 20.38 kB / 0.9363 GB, free: 3.168 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.829e-05/0.143, allocations: 16.38 kB / 0.9363 GB, free: 3.152 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003434/0.1434, allocations: 247.9 kB / 0.9365 GB, free: 2.871 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.1434, allocations: 3.938 kB / 0.9365 GB, free: 2.867 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.1434, allocations: 4 kB / 0.9365 GB, free: 2.863 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.1434, allocations: 4 kB / 0.9365 GB, free: 2.859 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.1435, allocations: 91.81 kB / 0.9366 GB, free: 2.77 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.1447, allocations: 1.382 MB / 0.938 GB, free: 1.312 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.1448, allocations: 159.4 kB / 0.9381 GB, free: 1.094 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.312e-05/0.1449, allocations: 74.42 kB / 0.9382 GB, free: 1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00028/0.1452, allocations: 63.92 kB / 0.9383 GB, free: 0.9375 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.1452, allocations: 41.52 kB / 0.9383 GB, free: 0.8867 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=13): time 1.714e-06/0.1452, allocations: 0 / 0.9383 GB, free: 0.8867 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13): time 0.0003773/0.1456, allocations: 141.8 kB / 0.9384 GB, free: 0.7422 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002332/0.1458, allocations: 166.1 kB / 0.9386 GB, free: 0.543 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.146, allocations: 249.8 kB / 0.9388 GB, free: 288 kB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.146, allocations: 29.7 kB / 0.9389 GB, free: 252 kB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.1461, allocations: 215 kB / 0.9391 GB, free: 32 kB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.353e-05/0.1462, allocations: 43.64 kB / 0.9391 GB, free: 15.99 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.273e-05/0.1462, allocations: 47.36 kB / 0.9392 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.1464, allocations: 0.4962 MB / 0.9396 GB, free: 15.43 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.615e-05/0.1464, allocations: 15.98 kB / 0.9397 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.1466, allocations: 229.1 kB / 0.9399 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.1467, allocations: 141.1 kB / 0.94 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1467, allocations: 3.938 kB / 0.94 GB, free: 14.94 MB / 0.9011 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002315/0.1469, allocations: 153.4 kB / 0.9402 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.147, allocations: 8 kB / 0.9402 GB, free: 14.78 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.147, allocations: 0 / 0.9402 GB, free: 14.78 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.147, allocations: 4 kB / 0.9402 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.1471, allocations: 35.97 kB / 0.9402 GB, free: 14.74 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.1471, allocations: 11.88 kB / 0.9402 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.237e-05/0.1472, allocations: 19.89 kB / 0.9402 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.595e-05/0.1472, allocations: 8 kB / 0.9402 GB, free: 14.7 MB / 0.9011 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 9.994e-05/0.1473, allocations: 168.6 kB / 0.9404 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.709e-05/0.1474, allocations: 31.88 kB / 0.9404 GB, free: 14.49 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002291/0.1477, allocations: 134.4 kB / 0.9406 GB, free: 14.35 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.1477, allocations: 7.938 kB / 0.9406 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1477, allocations: 7.938 kB / 0.9406 GB, free: 14.33 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.1477, allocations: 7.984 kB / 0.9406 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005933/0.1483, allocations: 0.9531 MB / 0.9415 GB, free: 13.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.1483, allocations: 11.94 kB / 0.9415 GB, free: 13.29 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.498e-05/0.1483, allocations: 27.92 kB / 0.9416 GB, free: 13.26 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.1483, allocations: 4 kB / 0.9416 GB, free: 13.26 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.1484, allocations: 0 / 0.9416 GB, free: 13.26 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1484, allocations: 4 kB / 0.9416 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1484, allocations: 8.188 kB / 0.9416 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.1486, allocations: 309.8 kB / 0.9419 GB, free: 12.9 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 4.134e-05/0.1487, allocations: 31.83 kB / 0.9419 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.1487, allocations: 11.95 kB / 0.9419 GB, free: 12.86 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.436e-05/0.1488, allocations: 7.938 kB / 0.9419 GB, free: 12.85 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.1488, allocations: 15.92 kB / 0.9419 GB, free: 12.83 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.1488, allocations: 4 kB / 0.9419 GB, free: 12.83 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 8.968e-05/0.1489, allocations: 188 kB / 0.9421 GB, free: 12.64 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.1489, allocations: 0 / 0.9421 GB, free: 12.64 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003156/0.1492, allocations: 91.77 kB / 0.9422 GB, free: 12.55 MB / 0.9011 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.000295/0.1495, allocations: 171.1 kB / 0.9424 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001728/0.1497, allocations: 91.58 kB / 0.9424 GB, free: 12.28 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1497, allocations: 4 kB / 0.9425 GB, free: 12.28 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 4.468e-05/0.1497, allocations: 39.55 kB / 0.9425 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.1501, allocations: 89.55 kB / 0.9426 GB, free: 12.16 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007849/0.1509, allocations: 480.9 kB / 0.943 GB, free: 11.63 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.456e-05/0.1509, allocations: 84.31 kB / 0.9431 GB, free: 11.53 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 9.668e-05/0.151, allocations: 37.61 kB / 0.9432 GB, free: 11.5 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.949e-05/0.1511, allocations: 24.5 kB / 0.9432 GB, free: 11.47 MB / 0.9011 GB Notification: Performance of SimCode: time 9.42e-07/0.1511, allocations: 0 / 0.9432 GB, free: 11.47 MB / 0.9011 GB Notification: Performance of Templates: time 0.006418/0.1575, allocations: 3.948 MB / 0.947 GB, free: 7.613 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.604562419001013]