Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009441/0.0009441, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001471/0.001471, allocations: 169.7 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 1.018/1.018, allocations: 177.2 MB / 203.7 MB, free: 5.512 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.551/2.551, allocations: 438.1 MB / 0.682 GB, free: 14.14 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.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.8898 GB, free: 9.715 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.327e-05/1.505e-05, allocations: 5.266 kB / 0.8898 GB, free: 9.711 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1266/0.1266, allocations: 143.4 MB / 1.03 GB, free: 9.781 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.002462/0.129, allocations: 2.079 MB / 1.032 GB, free: 7.695 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002432/0.1293, allocations: 15.88 kB / 1.032 GB, free: 7.68 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003148/0.1296, allocations: 71.41 kB / 1.032 GB, free: 7.609 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001142/0.1307, allocations: 0.5479 MB / 1.032 GB, free: 7.059 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008088/0.1315, allocations: 438.6 kB / 1.033 GB, free: 6.629 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0006051/0.1322, allocations: 0.5455 MB / 1.033 GB, free: 6.082 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002429/0.1324, allocations: 153.5 kB / 1.034 GB, free: 5.926 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004176/0.1328, allocations: 299.1 kB / 1.034 GB, free: 5.633 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004494/0.1333, allocations: 287.1 kB / 1.034 GB, free: 5.352 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.521e-05/0.1333, allocations: 19.94 kB / 1.034 GB, free: 5.332 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006358/0.1339, allocations: 470.7 kB / 1.035 GB, free: 4.871 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 9.842e-05/0.134, allocations: 91.72 kB / 1.035 GB, free: 4.781 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 7.651e-05/0.1341, allocations: 91.81 kB / 1.035 GB, free: 4.691 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006432/0.1348, allocations: 462.5 kB / 1.035 GB, free: 4.238 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1348, allocations: 4 kB / 1.035 GB, free: 4.234 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1348, allocations: 0 / 1.035 GB, free: 4.234 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.137e-06/0.1348, allocations: 0 / 1.035 GB, free: 4.234 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005743/0.1353, allocations: 0.5924 MB / 1.036 GB, free: 3.605 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.1354, allocations: 8.625 kB / 1.036 GB, free: 3.598 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003834/0.1358, allocations: 104.5 kB / 1.036 GB, free: 3.496 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.136, allocations: 236.6 kB / 1.036 GB, free: 3.238 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.136, allocations: 12.38 kB / 1.036 GB, free: 3.227 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.106e-05/0.1361, allocations: 20.38 kB / 1.036 GB, free: 3.207 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002433/0.1363, allocations: 235.9 kB / 1.036 GB, free: 2.938 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1363, allocations: 0 / 1.036 GB, free: 2.938 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.1363, allocations: 8 kB / 1.036 GB, free: 2.93 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.1363, allocations: 4 kB / 1.036 GB, free: 2.926 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.605e-05/0.1364, allocations: 71.39 kB / 1.036 GB, free: 2.855 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009138/0.1373, allocations: 1.382 MB / 1.038 GB, free: 1.398 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.1375, allocations: 155.5 kB / 1.038 GB, free: 1.184 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.931e-05/0.1375, allocations: 62.41 kB / 1.038 GB, free: 1.102 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002126/0.1377, allocations: 71.98 kB / 1.038 GB, free: 1.031 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.1377, allocations: 41.39 kB / 1.038 GB, free: 0.9805 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=13): time 1.733e-06/0.1377, allocations: 0 / 1.038 GB, free: 0.9805 MB / 0.9948 GB Notification: Performance of matching and sorting (n=13): time 0.0002854/0.138, allocations: 137.5 kB / 1.038 GB, free: 0.8398 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002025/0.1382, allocations: 162.2 kB / 1.038 GB, free: 0.6445 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.1384, allocations: 246.7 kB / 1.039 GB, free: 396 kB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.1384, allocations: 29.7 kB / 1.039 GB, free: 360 kB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 8.415e-05/0.1385, allocations: 199.6 kB / 1.039 GB, free: 156 kB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.1385, allocations: 59.52 kB / 1.039 GB, free: 96 kB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.176e-05/0.1385, allocations: 51.34 kB / 1.039 GB, free: 36 kB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.1387, allocations: 0.5002 MB / 1.039 GB, free: 15.52 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.767e-05/0.1387, allocations: 12 kB / 1.039 GB, free: 15.51 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.1388, allocations: 217.9 kB / 1.04 GB, free: 15.23 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.1389, allocations: 128.9 kB / 1.04 GB, free: 15.07 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1389, allocations: 0 / 1.04 GB, free: 15.07 MB / 1.01 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001804/0.1391, allocations: 145.3 kB / 1.04 GB, free: 14.92 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.1391, allocations: 11.98 kB / 1.04 GB, free: 14.91 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1391, allocations: 0 / 1.04 GB, free: 14.91 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.1391, allocations: 4 kB / 1.04 GB, free: 14.91 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.325e-05/0.1392, allocations: 36.17 kB / 1.04 GB, free: 14.87 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.1392, allocations: 11.94 kB / 1.04 GB, free: 14.86 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.207e-05/0.1393, allocations: 19.89 kB / 1.04 GB, free: 14.84 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.1393, allocations: 15.98 kB / 1.04 GB, free: 14.82 MB / 1.01 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 8.188e-05/0.1394, allocations: 168.5 kB / 1.04 GB, free: 14.65 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.858e-05/0.1395, allocations: 23.84 kB / 1.04 GB, free: 14.62 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001828/0.1397, allocations: 138.3 kB / 1.04 GB, free: 14.48 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1397, allocations: 0 / 1.04 GB, free: 14.48 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1397, allocations: 11.92 kB / 1.04 GB, free: 14.47 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1397, allocations: 0 / 1.04 GB, free: 14.47 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005132/0.1402, allocations: 0.9108 MB / 1.041 GB, free: 13.5 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.1402, allocations: 8.016 kB / 1.041 GB, free: 13.49 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.413e-05/0.1403, allocations: 24 kB / 1.041 GB, free: 13.46 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.1403, allocations: 3.938 kB / 1.041 GB, free: 13.46 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.128e-06/0.1403, allocations: 4 kB / 1.041 GB, free: 13.46 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.1403, allocations: 11.92 kB / 1.041 GB, free: 13.45 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.1403, allocations: 0 / 1.041 GB, free: 13.45 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.1405, allocations: 309.8 kB / 1.042 GB, free: 13.1 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 3.529e-05/0.1405, allocations: 31.77 kB / 1.042 GB, free: 13.07 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.1405, allocations: 4 kB / 1.042 GB, free: 13.06 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.951e-05/0.1406, allocations: 12.03 kB / 1.042 GB, free: 13.05 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.174e-05/0.1406, allocations: 7.984 kB / 1.042 GB, free: 13.04 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.1406, allocations: 7.984 kB / 1.042 GB, free: 13.04 MB / 1.01 GB Notification: Performance of sorting global known variables: time 7.158e-05/0.1407, allocations: 175.8 kB / 1.042 GB, free: 12.86 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.1407, allocations: 0 / 1.042 GB, free: 12.86 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002752/0.141, allocations: 83.83 kB / 1.042 GB, free: 12.78 MB / 1.01 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.0002518/0.1412, allocations: 183 kB / 1.042 GB, free: 12.59 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001298/0.1414, allocations: 75.47 kB / 1.042 GB, free: 12.52 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.1414, allocations: 4 kB / 1.042 GB, free: 12.51 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 3.732e-05/0.1414, allocations: 36.41 kB / 1.042 GB, free: 12.47 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.1417, allocations: 81.16 kB / 1.042 GB, free: 12.39 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006569/0.1424, allocations: 480.7 kB / 1.043 GB, free: 11.87 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.19e-05/0.1424, allocations: 91.97 kB / 1.043 GB, free: 11.76 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 7.762e-05/0.1425, allocations: 29.62 kB / 1.043 GB, free: 11.73 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.1426, allocations: 122.2 kB / 1.043 GB, free: 11.61 MB / 1.01 GB Notification: Performance of SimCode: time 5.71e-07/0.1426, allocations: 0 / 1.043 GB, free: 11.61 MB / 1.01 GB Notification: Performance of Templates: time 0.006193/0.1488, allocations: 4.196 MB / 1.047 GB, free: 7.48 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.28952989494428]