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.001017/0.001017, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001034/0.001034, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.9883/0.9883, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.39/2.39, allocations: 438.8 MB / 0.6827 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.482e-06/1.482e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.101e-05/2.249e-05, allocations: 4.422 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1323/0.1323, allocations: 145.5 MB / 0.9807 GB, free: 12.14 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.00229/0.1346, allocations: 2.11 MB / 0.9827 GB, free: 10.02 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002021/0.1348, allocations: 11.88 kB / 0.9828 GB, free: 10.01 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.000283/0.1351, allocations: 79.39 kB / 0.9828 GB, free: 9.93 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001034/0.1362, allocations: 0.5596 MB / 0.9834 GB, free: 9.367 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007547/0.1369, allocations: 426.7 kB / 0.9838 GB, free: 8.949 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0007493/0.1377, allocations: 0.5415 MB / 0.9843 GB, free: 8.406 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002175/0.1379, allocations: 159.5 kB / 0.9845 GB, free: 8.254 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003748/0.1383, allocations: 303.2 kB / 0.9848 GB, free: 7.957 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003944/0.1386, allocations: 271 kB / 0.985 GB, free: 7.691 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.908e-05/0.1387, allocations: 16 kB / 0.985 GB, free: 7.676 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005519/0.1392, allocations: 462.7 kB / 0.9855 GB, free: 7.223 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 8.481e-05/0.1393, allocations: 99.7 kB / 0.9856 GB, free: 7.125 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 7.284e-05/0.1394, allocations: 83.83 kB / 0.9856 GB, free: 7.043 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000513/0.1399, allocations: 470.5 kB / 0.9861 GB, free: 6.582 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1399, allocations: 4 kB / 0.9861 GB, free: 6.578 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1399, allocations: 0 / 0.9861 GB, free: 6.578 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.1399, allocations: 0 / 0.9861 GB, free: 6.578 MB / 0.948 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.0005001/0.1404, allocations: 466.9 kB / 0.9865 GB, free: 6.098 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.1404, allocations: 12.62 kB / 0.9866 GB, free: 6.086 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003717/0.1408, allocations: 104.6 kB / 0.9867 GB, free: 5.984 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.141, allocations: 217.3 kB / 0.9869 GB, free: 5.746 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.1411, allocations: 16.38 kB / 0.9869 GB, free: 5.73 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.232e-05/0.1411, allocations: 20.38 kB / 0.9869 GB, free: 5.711 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.1413, allocations: 218.9 kB / 0.9871 GB, free: 5.465 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.1413, allocations: 0 / 0.9871 GB, free: 5.465 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.1413, allocations: 12 kB / 0.9871 GB, free: 5.453 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.1413, allocations: 4 kB / 0.9871 GB, free: 5.449 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.92e-05/0.1414, allocations: 81.98 kB / 0.9872 GB, free: 5.363 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007668/0.1422, allocations: 0.9746 MB / 0.9881 GB, free: 4.332 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.1423, allocations: 336.5 kB / 0.9885 GB, free: 3.957 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.182e-05/0.1424, allocations: 67.58 kB / 0.9885 GB, free: 3.871 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002093/0.1426, allocations: 59.94 kB / 0.9886 GB, free: 3.812 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.1426, allocations: 42.69 kB / 0.9886 GB, free: 3.762 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.1426, allocations: 0 / 0.9886 GB, free: 3.762 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.0002471/0.1429, allocations: 114.1 kB / 0.9887 GB, free: 3.645 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.1429, allocations: 158.2 kB / 0.9889 GB, free: 3.453 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.143, allocations: 194.3 kB / 0.9891 GB, free: 3.25 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.1431, allocations: 33.64 kB / 0.9891 GB, free: 3.211 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.166e-05/0.1431, allocations: 144.4 kB / 0.9892 GB, free: 3.062 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.1431, allocations: 51.52 kB / 0.9893 GB, free: 3.012 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.323e-05/0.1432, allocations: 41.7 kB / 0.9893 GB, free: 2.965 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.241e-05/0.1433, allocations: 330.8 kB / 0.9897 GB, free: 2.633 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.031e-05/0.1433, allocations: 18.81 kB / 0.9897 GB, free: 2.613 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.085e-05/0.1434, allocations: 189.4 kB / 0.9898 GB, free: 2.375 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.1435, allocations: 125.7 kB / 0.99 GB, free: 2.219 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1435, allocations: 3.984 kB / 0.99 GB, free: 2.215 MB / 0.948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001613/0.1437, allocations: 120.9 kB / 0.9901 GB, free: 2.086 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.1437, allocations: 8.031 kB / 0.9901 GB, free: 2.078 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1437, allocations: 7.984 kB / 0.9901 GB, free: 2.07 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.1437, allocations: 4 kB / 0.9901 GB, free: 2.066 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.24e-05/0.1438, allocations: 35.92 kB / 0.9901 GB, free: 2.031 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1438, allocations: 7.938 kB / 0.9901 GB, free: 2.023 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.598e-05/0.1438, allocations: 11.95 kB / 0.9902 GB, free: 2.012 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.1439, allocations: 15.98 kB / 0.9902 GB, free: 1.996 MB / 0.948 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.14e-05/0.1439, allocations: 120.6 kB / 0.9903 GB, free: 1.867 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.867e-05/0.144, allocations: 27.86 kB / 0.9903 GB, free: 1.84 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001622/0.1442, allocations: 116.8 kB / 0.9904 GB, free: 1.711 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1442, allocations: 0 / 0.9904 GB, free: 1.711 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.1442, allocations: 4 kB / 0.9904 GB, free: 1.707 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.1442, allocations: 15.95 kB / 0.9904 GB, free: 1.691 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000703/0.1449, allocations: 0.6825 MB / 0.9911 GB, free: 0.957 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1449, allocations: 4 kB / 0.9911 GB, free: 0.9531 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.231e-05/0.145, allocations: 27.92 kB / 0.9911 GB, free: 0.9258 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.145, allocations: 3.938 kB / 0.9911 GB, free: 0.9219 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.145, allocations: 4 kB / 0.9912 GB, free: 0.918 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.145, allocations: 7.984 kB / 0.9912 GB, free: 0.9102 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.145, allocations: 0 / 0.9912 GB, free: 0.9102 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/0.1452, allocations: 282.8 kB / 0.9914 GB, free: 0.5938 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.084e-05/0.1452, allocations: 27.78 kB / 0.9915 GB, free: 0.5664 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.1452, allocations: 11.94 kB / 0.9915 GB, free: 0.5547 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.715e-05/0.1453, allocations: 4 kB / 0.9915 GB, free: 0.5508 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.1453, allocations: 11.92 kB / 0.9915 GB, free: 0.5391 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.1453, allocations: 8 kB / 0.9915 GB, free: 0.5312 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.804e-05/0.1454, allocations: 61.45 kB / 0.9915 GB, free: 480 kB / 0.948 GB Notification: Performance of sort global known variables: time 9e-08/0.1454, allocations: 4 kB / 0.9916 GB, free: 476 kB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002735/0.1456, allocations: 91.75 kB / 0.9916 GB, free: 384 kB / 0.948 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.0002411/0.1459, allocations: 144.2 kB / 0.9918 GB, free: 232 kB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001365/0.146, allocations: 72.97 kB / 0.9918 GB, free: 156 kB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.146, allocations: 0 / 0.9918 GB, free: 156 kB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.652e-05/0.146, allocations: 40.7 kB / 0.9919 GB, free: 112 kB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.1463, allocations: 81.64 kB / 0.992 GB, free: 28 kB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006512/0.147, allocations: 452.9 kB / 0.9924 GB, free: 15.54 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.023e-05/0.147, allocations: 83.97 kB / 0.9925 GB, free: 15.44 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 7.978e-05/0.1471, allocations: 33.55 kB / 0.9925 GB, free: 15.41 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.1472, allocations: 101.3 kB / 0.9926 GB, free: 15.31 MB / 0.9636 GB Notification: Performance of SimCode: time 6.71e-07/0.1472, allocations: 0 / 0.9926 GB, free: 15.31 MB / 0.9636 GB Notification: Performance of Templates: time 0.005998/0.1532, allocations: 4.129 MB / 0.9966 GB, free: 11.26 MB / 0.9636 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: 5.570723598822951]