Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.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.0009467/0.0009467, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0009832/0.0009832, allocations: 165 kB / 24.17 MB, free: 332 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.9486/0.9486, allocations: 177.1 MB / 204.6 MB, free: 5.137 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.876/1.876, allocations: 377.9 MB / 0.624 GB, free: 8.406 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 0.76 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.643e-05/2.842e-05, allocations: 6.25 kB / 0.76 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.134/0.134, allocations: 146.1 MB / 0.9028 GB, free: 4.172 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002777/0.1368, allocations: 2.319 MB / 0.905 GB, free: 1.848 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002079/0.137, allocations: 19.81 kB / 0.905 GB, free: 1.828 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0003017/0.1373, allocations: 87.27 kB / 0.9051 GB, free: 1.742 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001267/0.1386, allocations: 0.6644 MB / 0.9058 GB, free: 1.074 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008652/0.1394, allocations: 0.5142 MB / 0.9063 GB, free: 0.5586 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.000593/0.14, allocations: 0.7406 MB / 0.907 GB, free: 15.81 MB / 0.8699 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002828/0.1403, allocations: 246.1 kB / 0.9072 GB, free: 15.57 MB / 0.8699 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004169/0.1407, allocations: 395 kB / 0.9076 GB, free: 15.18 MB / 0.8699 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004712/0.1412, allocations: 390.8 kB / 0.908 GB, free: 14.8 MB / 0.8699 GB Notification: Performance of NFPackage.collectConstants: time 3.46e-05/0.1412, allocations: 28 kB / 0.908 GB, free: 14.77 MB / 0.8699 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004996/0.1417, allocations: 474.7 kB / 0.9085 GB, free: 14.31 MB / 0.8699 GB Notification: Performance of NFScalarize.scalarize: time 9.113e-05/0.1418, allocations: 119.6 kB / 0.9086 GB, free: 14.19 MB / 0.8699 GB Notification: Performance of NFVerifyModel.verify: time 9.408e-05/0.1419, allocations: 127.7 kB / 0.9087 GB, free: 14.07 MB / 0.8699 GB Notification: Performance of NFConvertDAE.convert: time 0.0005205/0.1424, allocations: 0.5411 MB / 0.9092 GB, free: 13.52 MB / 0.8699 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1424, allocations: 0 / 0.9092 GB, free: 13.52 MB / 0.8699 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1424, allocations: 0 / 0.9092 GB, free: 13.52 MB / 0.8699 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.1424, allocations: 0 / 0.9092 GB, free: 13.52 MB / 0.8699 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0005458/0.143, allocations: 0.5618 MB / 0.9098 GB, free: 12.94 MB / 0.8699 GB Notification: Performance of prepare preOptimizeDAE: time 2.757e-05/0.143, allocations: 12.02 kB / 0.9098 GB, free: 12.93 MB / 0.8699 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000543/0.1435, allocations: 180.3 kB / 0.91 GB, free: 12.75 MB / 0.8699 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.1438, allocations: 256.6 kB / 0.9102 GB, free: 12.47 MB / 0.8699 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.562e-05/0.1439, allocations: 72.62 kB / 0.9103 GB, free: 12.39 MB / 0.8699 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.302e-05/0.1439, allocations: 31.94 kB / 0.9103 GB, free: 12.36 MB / 0.8699 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002862/0.1442, allocations: 304.4 kB / 0.9106 GB, free: 12.03 MB / 0.8699 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1442, allocations: 4 kB / 0.9106 GB, free: 12.03 MB / 0.8699 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.1442, allocations: 8 kB / 0.9106 GB, free: 12.02 MB / 0.8699 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.1442, allocations: 8 kB / 0.9106 GB, free: 12.01 MB / 0.8699 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.1444, allocations: 82.23 kB / 0.9107 GB, free: 11.93 MB / 0.8699 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008075/0.1452, allocations: 0.8732 MB / 0.9115 GB, free: 11.02 MB / 0.8699 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.1453, allocations: 118.9 kB / 0.9117 GB, free: 10.89 MB / 0.8699 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.271e-05/0.1453, allocations: 35.62 kB / 0.9117 GB, free: 10.86 MB / 0.8699 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002244/0.1456, allocations: 71.92 kB / 0.9118 GB, free: 10.79 MB / 0.8699 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.1456, allocations: 42.5 kB / 0.9118 GB, free: 10.73 MB / 0.8699 GB Notification: Performance of pre-optimization done (n=15): time 1.112e-06/0.1456, allocations: 0 / 0.9118 GB, free: 10.73 MB / 0.8699 GB Notification: Performance of matching and sorting (n=15): time 0.0002645/0.1459, allocations: 121.6 kB / 0.9119 GB, free: 10.61 MB / 0.8699 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.1459, allocations: 51.41 kB / 0.912 GB, free: 10.55 MB / 0.8699 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.146, allocations: 228.9 kB / 0.9122 GB, free: 10.31 MB / 0.8699 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.146, allocations: 25.7 kB / 0.9122 GB, free: 10.28 MB / 0.8699 GB Notification: Performance of collectInitialEqns (initialization): time 7.348e-05/0.1461, allocations: 181 kB / 0.9124 GB, free: 10.1 MB / 0.8699 GB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.1461, allocations: 59.52 kB / 0.9124 GB, free: 10.04 MB / 0.8699 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.895e-05/0.1462, allocations: 37.69 kB / 0.9125 GB, free: 9.996 MB / 0.8699 GB Notification: Performance of setup shared object (initialization): time 8.316e-05/0.1463, allocations: 342.7 kB / 0.9128 GB, free: 9.652 MB / 0.8699 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.295e-05/0.1463, allocations: 18.77 kB / 0.9128 GB, free: 9.633 MB / 0.8699 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.014e-05/0.1464, allocations: 147.1 kB / 0.913 GB, free: 9.449 MB / 0.8699 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.1465, allocations: 100.9 kB / 0.913 GB, free: 9.332 MB / 0.8699 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1465, allocations: 7.938 kB / 0.9131 GB, free: 9.324 MB / 0.8699 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001613/0.1466, allocations: 127.5 kB / 0.9132 GB, free: 9.195 MB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.1466, allocations: 8 kB / 0.9132 GB, free: 9.188 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1467, allocations: 0 / 0.9132 GB, free: 9.188 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.1467, allocations: 4 kB / 0.9132 GB, free: 9.184 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.1468, allocations: 39.92 kB / 0.9132 GB, free: 9.145 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.1468, allocations: 4 kB / 0.9132 GB, free: 9.141 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.766e-05/0.1468, allocations: 24.02 kB / 0.9133 GB, free: 9.117 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.1469, allocations: 15.98 kB / 0.9133 GB, free: 9.102 MB / 0.8699 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.905e-05/0.1469, allocations: 124.6 kB / 0.9134 GB, free: 8.969 MB / 0.8699 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.004e-05/0.147, allocations: 23.94 kB / 0.9134 GB, free: 8.945 MB / 0.8699 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001917/0.1472, allocations: 133.7 kB / 0.9135 GB, free: 8.809 MB / 0.8699 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1472, allocations: 4 kB / 0.9135 GB, free: 8.805 MB / 0.8699 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-06/0.1472, allocations: 0 / 0.9135 GB, free: 8.805 MB / 0.8699 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1472, allocations: 0 / 0.9135 GB, free: 8.805 MB / 0.8699 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004533/0.1476, allocations: 0.5233 MB / 0.9141 GB, free: 8.227 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.1476, allocations: 4 kB / 0.9141 GB, free: 8.223 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.711e-05/0.1477, allocations: 23.98 kB / 0.9141 GB, free: 8.199 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.1477, allocations: 7.938 kB / 0.9141 GB, free: 8.191 MB / 0.8699 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.1477, allocations: 11.98 kB / 0.9141 GB, free: 8.18 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1477, allocations: 0 / 0.9141 GB, free: 8.18 MB / 0.8699 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.1477, allocations: 7.938 kB / 0.9141 GB, free: 8.172 MB / 0.8699 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.1479, allocations: 292 kB / 0.9144 GB, free: 7.84 MB / 0.8699 GB Notification: Performance of postOpt removeConstants (simulation): time 4.595e-05/0.1479, allocations: 39.95 kB / 0.9144 GB, free: 7.801 MB / 0.8699 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.148, allocations: 11.88 kB / 0.9144 GB, free: 7.789 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.908e-05/0.148, allocations: 12 kB / 0.9144 GB, free: 7.777 MB / 0.8699 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/0.1481, allocations: 11.97 kB / 0.9145 GB, free: 7.766 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.1481, allocations: 12 kB / 0.9145 GB, free: 7.754 MB / 0.8699 GB Notification: Performance of sorting global known variables: time 5.143e-05/0.1481, allocations: 74.77 kB / 0.9145 GB, free: 7.684 MB / 0.8699 GB Notification: Performance of sort global known variables: time 5e-08/0.1481, allocations: 0 / 0.9145 GB, free: 7.684 MB / 0.8699 GB Notification: Performance of remove unused functions: time 0.000242/0.1484, allocations: 111.7 kB / 0.9146 GB, free: 7.574 MB / 0.8699 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (15): * Single equations (assignments): 15 * 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.0002349/0.1486, allocations: 160.1 kB / 0.9148 GB, free: 7.41 MB / 0.8699 GB Notification: Performance of simCode: created initialization part: time 0.0001266/0.1487, allocations: 80.7 kB / 0.9149 GB, free: 7.328 MB / 0.8699 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.1487, allocations: 4 kB / 0.9149 GB, free: 7.324 MB / 0.8699 GB Notification: Performance of simCode: created simulation system equations: time 4.837e-05/0.1488, allocations: 53.14 kB / 0.9149 GB, free: 7.27 MB / 0.8699 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.1491, allocations: 106.3 kB / 0.915 GB, free: 7.168 MB / 0.8699 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007724/0.1499, allocations: 0.5486 MB / 0.9156 GB, free: 6.566 MB / 0.8699 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.592e-05/0.15, allocations: 96.3 kB / 0.9157 GB, free: 6.453 MB / 0.8699 GB Notification: Performance of simCode: alias equations: time 9.717e-05/0.1501, allocations: 33.95 kB / 0.9157 GB, free: 6.418 MB / 0.8699 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002047/0.1503, allocations: 139.2 kB / 0.9158 GB, free: 6.281 MB / 0.8699 GB Notification: Performance of SimCode: time 5.71e-07/0.1503, allocations: 0 / 0.9158 GB, free: 6.281 MB / 0.8699 GB Notification: Performance of Templates: time 0.007141/0.1574, allocations: 5.683 MB / 0.9214 GB, free: 0.7227 MB / 0.8699 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.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.321345712058246]