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.001146/0.001146, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001259/0.001259, allocations: 181 kB / 23.36 MB, free: 1.133 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.017/1.017, 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.509/2.509, allocations: 438.8 MB / 0.6827 GB, free: 13.57 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.473e-06/1.473e-06, allocations: 0 / 0.8386 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.044e-05/2.191e-05, allocations: 6.312 kB / 0.8386 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1404/0.1404, allocations: 145.5 MB / 0.9808 GB, free: 12 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.002461/0.1429, allocations: 2.108 MB / 0.9828 GB, free: 9.891 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002513/0.1431, allocations: 11.88 kB / 0.9828 GB, free: 9.879 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002931/0.1434, allocations: 71.42 kB / 0.9829 GB, free: 9.809 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001148/0.1446, allocations: 0.5556 MB / 0.9835 GB, free: 9.25 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007791/0.1454, allocations: 426.7 kB / 0.9839 GB, free: 8.832 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0005501/0.1459, allocations: 0.5415 MB / 0.9844 GB, free: 8.289 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002501/0.1462, allocations: 151.5 kB / 0.9845 GB, free: 8.145 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004168/0.1466, allocations: 295.2 kB / 0.9848 GB, free: 7.855 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004496/0.147, allocations: 279 kB / 0.9851 GB, free: 7.582 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.553e-05/0.1471, allocations: 16 kB / 0.9851 GB, free: 7.566 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006434/0.1477, allocations: 474.6 kB / 0.9855 GB, free: 7.102 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 9.411e-05/0.1478, allocations: 95.72 kB / 0.9856 GB, free: 7.008 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 7.283e-05/0.1479, allocations: 87.77 kB / 0.9857 GB, free: 6.922 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005711/0.1484, allocations: 462.6 kB / 0.9862 GB, free: 6.469 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.1484, allocations: 0 / 0.9862 GB, free: 6.469 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1484, allocations: 7.938 kB / 0.9862 GB, free: 6.461 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.1484, allocations: 0 / 0.9862 GB, free: 6.461 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.0005114/0.149, allocations: 471 kB / 0.9866 GB, free: 5.977 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.149, allocations: 8.625 kB / 0.9866 GB, free: 5.969 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004386/0.1494, allocations: 108.5 kB / 0.9867 GB, free: 5.863 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.1497, allocations: 221.3 kB / 0.9869 GB, free: 5.621 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.1497, allocations: 20.31 kB / 0.987 GB, free: 5.602 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/0.1497, allocations: 16.38 kB / 0.987 GB, free: 5.586 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.15, allocations: 218.9 kB / 0.9872 GB, free: 5.34 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.15, allocations: 0 / 0.9872 GB, free: 5.34 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.15, allocations: 12 kB / 0.9872 GB, free: 5.328 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.15, allocations: 4 kB / 0.9872 GB, free: 5.324 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.1501, allocations: 77.97 kB / 0.9873 GB, free: 5.242 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008533/0.151, allocations: 0.9785 MB / 0.9882 GB, free: 4.207 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.1512, allocations: 348.5 kB / 0.9886 GB, free: 3.82 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.189e-05/0.1512, allocations: 59.59 kB / 0.9886 GB, free: 3.742 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002294/0.1514, allocations: 59.94 kB / 0.9887 GB, free: 3.684 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.1515, allocations: 42.69 kB / 0.9887 GB, free: 3.633 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 1.873e-06/0.1515, allocations: 0 / 0.9887 GB, free: 3.633 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.000272/0.1517, allocations: 109.4 kB / 0.9888 GB, free: 3.52 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.1518, allocations: 162.7 kB / 0.989 GB, free: 3.324 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.152, allocations: 190.3 kB / 0.9892 GB, free: 3.125 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.152, allocations: 29.7 kB / 0.9892 GB, free: 3.09 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.43e-05/0.1521, allocations: 148.4 kB / 0.9893 GB, free: 2.938 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.1521, allocations: 55.52 kB / 0.9894 GB, free: 2.883 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.649e-05/0.1522, allocations: 41.69 kB / 0.9894 GB, free: 2.836 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.02e-05/0.1523, allocations: 326.8 kB / 0.9897 GB, free: 2.508 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.312e-05/0.1523, allocations: 18.81 kB / 0.9898 GB, free: 2.488 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.1524, allocations: 183.7 kB / 0.9899 GB, free: 2.254 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.1525, allocations: 121.7 kB / 0.99 GB, free: 2.102 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1525, allocations: 0 / 0.99 GB, free: 2.102 MB / 0.948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001798/0.1527, allocations: 128.6 kB / 0.9902 GB, free: 1.965 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.1527, allocations: 4.25 kB / 0.9902 GB, free: 1.961 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1527, allocations: 8 kB / 0.9902 GB, free: 1.953 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.1527, allocations: 4 kB / 0.9902 GB, free: 1.949 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.1529, allocations: 39.97 kB / 0.9902 GB, free: 1.91 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.1529, allocations: 7.938 kB / 0.9902 GB, free: 1.902 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.26e-05/0.1529, allocations: 15.89 kB / 0.9902 GB, free: 1.887 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.153, allocations: 11.98 kB / 0.9903 GB, free: 1.875 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.451e-05/0.153, allocations: 124.6 kB / 0.9904 GB, free: 1.742 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.622e-05/0.1531, allocations: 15.92 kB / 0.9904 GB, free: 1.727 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000199/0.1533, allocations: 124.6 kB / 0.9905 GB, free: 1.59 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1533, allocations: 7.938 kB / 0.9905 GB, free: 1.582 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.1533, allocations: 0 / 0.9905 GB, free: 1.582 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.1533, allocations: 11.92 kB / 0.9905 GB, free: 1.57 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004823/0.1538, allocations: 0.6902 MB / 0.9912 GB, free: 0.8281 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1538, allocations: 0 / 0.9912 GB, free: 0.8281 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.5e-05/0.1539, allocations: 27.97 kB / 0.9912 GB, free: 0.8008 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.1539, allocations: 7.922 kB / 0.9912 GB, free: 0.793 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.1539, allocations: 8.062 kB / 0.9912 GB, free: 0.7852 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.1539, allocations: 3.984 kB / 0.9912 GB, free: 0.7812 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1539, allocations: 4 kB / 0.9912 GB, free: 0.7773 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00021/0.1541, allocations: 282.8 kB / 0.9915 GB, free: 472 kB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.833e-05/0.1542, allocations: 23.84 kB / 0.9915 GB, free: 448 kB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.1542, allocations: 7.938 kB / 0.9915 GB, free: 440 kB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.349e-05/0.1543, allocations: 8 kB / 0.9916 GB, free: 432 kB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.1543, allocations: 7.984 kB / 0.9916 GB, free: 424 kB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.1543, allocations: 8 kB / 0.9916 GB, free: 416 kB / 0.948 GB Notification: Performance of sorting global known variables: time 5.043e-05/0.1543, allocations: 61.45 kB / 0.9916 GB, free: 352 kB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.1543, allocations: 0 / 0.9916 GB, free: 352 kB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002776/0.1546, allocations: 91.77 kB / 0.9917 GB, free: 260 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.0002466/0.1549, allocations: 152.1 kB / 0.9919 GB, free: 100 kB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001292/0.155, allocations: 73.14 kB / 0.9919 GB, free: 24 kB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.155, allocations: 4.062 kB / 0.9919 GB, free: 20 kB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.223e-05/0.1551, allocations: 36.77 kB / 0.992 GB, free: 15.98 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.1554, allocations: 73.14 kB / 0.992 GB, free: 15.91 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007061/0.1561, allocations: 453.1 kB / 0.9925 GB, free: 15.42 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.864e-05/0.1561, allocations: 87.91 kB / 0.9926 GB, free: 15.32 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 8.418e-05/0.1562, allocations: 33.55 kB / 0.9926 GB, free: 15.29 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.1563, allocations: 105.3 kB / 0.9927 GB, free: 15.18 MB / 0.9636 GB Notification: Performance of SimCode: time 8.71e-07/0.1563, allocations: 0 / 0.9927 GB, free: 15.18 MB / 0.9636 GB Notification: Performance of Templates: time 0.006607/0.163, allocations: 4.124 MB / 0.9967 GB, free: 11.14 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 -s gbode -gbm=radauIIA3 -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.644272014033049]