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.0009111/0.0009111, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009408/0.0009408, allocations: 161.4 kB / 24.17 MB, free: 328 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.99/0.99, allocations: 177.1 MB / 204.6 MB, free: 5.473 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.976/1.976, allocations: 377.9 MB / 0.624 GB, free: 8.359 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.393e-06/1.393e-06, allocations: 0 / 0.7601 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.196e-05/1.336e-05, allocations: 6.141 kB / 0.7601 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1387/0.1387, allocations: 146.2 MB / 0.9028 GB, free: 4.027 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002368/0.1411, allocations: 2.325 MB / 0.9051 GB, free: 1.695 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001512/0.1413, allocations: 19.88 kB / 0.9051 GB, free: 1.676 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.00029/0.1415, allocations: 83.27 kB / 0.9052 GB, free: 1.594 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.000962/0.1425, allocations: 0.6605 MB / 0.9058 GB, free: 0.9297 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006807/0.1432, allocations: 0.5065 MB / 0.9063 GB, free: 432 kB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0005443/0.1437, allocations: 0.7483 MB / 0.9071 GB, free: 15.67 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002762/0.144, allocations: 226.2 kB / 0.9073 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006474/0.1447, allocations: 394.9 kB / 0.9077 GB, free: 15.06 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005404/0.1452, allocations: 390.9 kB / 0.908 GB, free: 14.68 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 4.612e-05/0.1452, allocations: 28 kB / 0.9081 GB, free: 14.65 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007019/0.1459, allocations: 486.6 kB / 0.9085 GB, free: 14.18 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 9.254e-05/0.146, allocations: 127.5 kB / 0.9086 GB, free: 14.05 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 8.843e-05/0.1461, allocations: 115.8 kB / 0.9088 GB, free: 13.94 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.000513/0.1466, allocations: 0.5412 MB / 0.9093 GB, free: 13.39 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1466, allocations: 0 / 0.9093 GB, free: 13.39 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1466, allocations: 3.938 kB / 0.9093 GB, free: 13.39 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.1466, allocations: 0 / 0.9093 GB, free: 13.39 MB / 0.8698 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.0005317/0.1472, allocations: 0.5619 MB / 0.9098 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 2.934e-05/0.1472, allocations: 8.031 kB / 0.9098 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006154/0.1478, allocations: 184.3 kB / 0.91 GB, free: 12.62 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/0.1481, allocations: 260.6 kB / 0.9103 GB, free: 12.34 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.223e-05/0.1482, allocations: 72.62 kB / 0.9103 GB, free: 12.25 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.958e-05/0.1482, allocations: 31.94 kB / 0.9104 GB, free: 12.22 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002829/0.1485, allocations: 296.4 kB / 0.9107 GB, free: 11.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1485, allocations: 4 kB / 0.9107 GB, free: 11.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.1485, allocations: 8 kB / 0.9107 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.1485, allocations: 8 kB / 0.9107 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.1486, allocations: 82.23 kB / 0.9107 GB, free: 11.8 MB / 0.8698 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.0007997/0.1494, allocations: 0.8771 MB / 0.9116 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.1496, allocations: 114.9 kB / 0.9117 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.298e-05/0.1496, allocations: 43.59 kB / 0.9118 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002274/0.1498, allocations: 75.92 kB / 0.9118 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.1499, allocations: 38.5 kB / 0.9119 GB, free: 10.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 1.412e-06/0.1499, allocations: 0 / 0.9119 GB, free: 10.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0002769/0.1501, allocations: 124 kB / 0.912 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.068e-05/0.1502, allocations: 51.41 kB / 0.912 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.1503, allocations: 232.8 kB / 0.9123 GB, free: 10.17 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.1503, allocations: 29.7 kB / 0.9123 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.916e-05/0.1504, allocations: 177 kB / 0.9125 GB, free: 9.957 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.91e-05/0.1504, allocations: 55.52 kB / 0.9125 GB, free: 9.902 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.083e-05/0.1504, allocations: 41.69 kB / 0.9125 GB, free: 9.855 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.815e-05/0.1505, allocations: 342.7 kB / 0.9129 GB, free: 9.512 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.209e-05/0.1506, allocations: 14.83 kB / 0.9129 GB, free: 9.496 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.295e-05/0.1506, allocations: 145.3 kB / 0.913 GB, free: 9.316 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.1507, allocations: 110.6 kB / 0.9131 GB, free: 9.188 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1507, allocations: 4 kB / 0.9131 GB, free: 9.184 MB / 0.8698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001694/0.1509, allocations: 120.3 kB / 0.9132 GB, free: 9.059 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.1509, allocations: 9.25 kB / 0.9133 GB, free: 9.051 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1509, allocations: 3.984 kB / 0.9133 GB, free: 9.047 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.1509, allocations: 4 kB / 0.9133 GB, free: 9.043 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.1511, allocations: 48.11 kB / 0.9133 GB, free: 8.996 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.015e-06/0.1511, allocations: 0 / 0.9133 GB, free: 8.996 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.044e-05/0.1511, allocations: 19.83 kB / 0.9133 GB, free: 8.977 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/0.1512, allocations: 15.98 kB / 0.9133 GB, free: 8.961 MB / 0.8698 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.425e-05/0.1512, allocations: 120.6 kB / 0.9135 GB, free: 8.832 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.685e-05/0.1513, allocations: 23.94 kB / 0.9135 GB, free: 8.809 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001897/0.1515, allocations: 131.3 kB / 0.9136 GB, free: 8.672 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1515, allocations: 0 / 0.9136 GB, free: 8.672 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.1515, allocations: 0 / 0.9136 GB, free: 8.672 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1515, allocations: 4 kB / 0.9136 GB, free: 8.668 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004603/0.1519, allocations: 0.5271 MB / 0.9141 GB, free: 8.086 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1519, allocations: 0 / 0.9141 GB, free: 8.086 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.595e-05/0.152, allocations: 31.98 kB / 0.9142 GB, free: 8.055 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.152, allocations: 7.938 kB / 0.9142 GB, free: 8.047 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.152, allocations: 7.984 kB / 0.9142 GB, free: 8.039 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.152, allocations: 3.938 kB / 0.9142 GB, free: 8.035 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.152, allocations: 8.016 kB / 0.9142 GB, free: 8.027 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003055/0.1523, allocations: 304.1 kB / 0.9145 GB, free: 7.684 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.315e-05/0.1524, allocations: 39.78 kB / 0.9145 GB, free: 7.645 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.1524, allocations: 7.938 kB / 0.9145 GB, free: 7.637 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.366e-05/0.1525, allocations: 8 kB / 0.9145 GB, free: 7.629 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.541e-05/0.1525, allocations: 15.97 kB / 0.9145 GB, free: 7.613 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.1525, allocations: 12.05 kB / 0.9146 GB, free: 7.602 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.521e-05/0.1526, allocations: 70.78 kB / 0.9146 GB, free: 7.535 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.1526, allocations: 0 / 0.9146 GB, free: 7.535 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002521/0.1528, allocations: 115.7 kB / 0.9147 GB, free: 7.422 MB / 0.8698 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.0002269/0.1531, allocations: 156.1 kB / 0.9149 GB, free: 7.262 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001302/0.1532, allocations: 83.47 kB / 0.915 GB, free: 7.18 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.1532, allocations: 4 kB / 0.915 GB, free: 7.176 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.757e-05/0.1532, allocations: 40.72 kB / 0.915 GB, free: 7.133 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.1536, allocations: 106.3 kB / 0.9151 GB, free: 7.031 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007942/0.1544, allocations: 0.5486 MB / 0.9156 GB, free: 6.43 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.708e-05/0.1544, allocations: 100.3 kB / 0.9157 GB, free: 6.312 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001075/0.1545, allocations: 37.95 kB / 0.9158 GB, free: 6.273 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002173/0.1548, allocations: 135.2 kB / 0.9159 GB, free: 6.141 MB / 0.8698 GB Notification: Performance of SimCode: time 7.02e-07/0.1548, allocations: 0 / 0.9159 GB, free: 6.141 MB / 0.8698 GB Notification: Performance of Templates: time 0.007394/0.1622, allocations: 5.676 MB / 0.9214 GB, free: 0.5859 MB / 0.8698 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 -s gbode -gbm=radauIIA3 -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.46980525366962]