Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009552/0.0009552, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.0009881/0.0009881, allocations: 167.2 kB / 24.87 MB, free: 8.875 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.9539/0.9539, allocations: 177.1 MB / 205.3 MB, free: 5.531 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.76/1.76, allocations: 359 MB / 0.6063 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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|senM_flow.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senM_flow.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.7883 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.37e-05/1.525e-05, allocations: 2.859 kB / 0.7883 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.139/0.139, allocations: 144 MB / 0.929 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.002402/0.1414, allocations: 2.28 MB / 0.9312 GB, free: 9.438 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000186/0.1416, allocations: 19.81 kB / 0.9312 GB, free: 9.418 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0002957/0.1419, allocations: 95.25 kB / 0.9313 GB, free: 9.324 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0009711/0.1429, allocations: 0.6682 MB / 0.932 GB, free: 8.652 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006909/0.1436, allocations: 0.5065 MB / 0.9324 GB, free: 8.145 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0005161/0.1441, allocations: 0.7522 MB / 0.9332 GB, free: 7.387 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002669/0.1444, allocations: 243.5 kB / 0.9334 GB, free: 7.148 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003909/0.1448, allocations: 410.9 kB / 0.9338 GB, free: 6.746 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004825/0.1452, allocations: 414.8 kB / 0.9342 GB, free: 6.34 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 3.407e-05/0.1453, allocations: 28 kB / 0.9342 GB, free: 6.312 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004788/0.1457, allocations: 486.6 kB / 0.9347 GB, free: 5.836 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 8.927e-05/0.1458, allocations: 123.6 kB / 0.9348 GB, free: 5.715 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 9.386e-05/0.1459, allocations: 119.7 kB / 0.9349 GB, free: 5.598 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0005066/0.1464, allocations: 0.5334 MB / 0.9354 GB, free: 5.062 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.1464, allocations: 0 / 0.9354 GB, free: 5.062 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1464, allocations: 0 / 0.9354 GB, free: 5.062 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.1464, allocations: 0 / 0.9354 GB, free: 5.062 MB / 0.8855 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.0005763/0.147, allocations: 0.6981 MB / 0.9361 GB, free: 4.328 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.1471, allocations: 12.03 kB / 0.9361 GB, free: 4.316 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005707/0.1476, allocations: 180.2 kB / 0.9363 GB, free: 4.141 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/0.1479, allocations: 283.4 kB / 0.9366 GB, free: 3.84 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.547e-05/0.148, allocations: 76.61 kB / 0.9367 GB, free: 3.75 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.226e-05/0.148, allocations: 31.94 kB / 0.9367 GB, free: 3.719 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002795/0.1483, allocations: 295.8 kB / 0.937 GB, free: 3.395 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1483, allocations: 0 / 0.937 GB, free: 3.395 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.1483, allocations: 8 kB / 0.937 GB, free: 3.387 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.1483, allocations: 8 kB / 0.937 GB, free: 3.379 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.1484, allocations: 95.36 kB / 0.9371 GB, free: 3.285 MB / 0.8855 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.001024/0.1495, allocations: 1.202 MB / 0.9382 GB, free: 2.039 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.1496, allocations: 83.12 kB / 0.9383 GB, free: 1.945 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.057e-05/0.1496, allocations: 39.61 kB / 0.9384 GB, free: 1.902 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002435/0.1499, allocations: 79.91 kB / 0.9384 GB, free: 1.824 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.1499, allocations: 37.39 kB / 0.9385 GB, free: 1.777 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=15): time 1.193e-06/0.1499, allocations: 4 kB / 0.9385 GB, free: 1.773 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15): time 0.0003072/0.1502, allocations: 153.3 kB / 0.9386 GB, free: 1.617 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.1502, allocations: 55.41 kB / 0.9387 GB, free: 1.551 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.1504, allocations: 288.1 kB / 0.939 GB, free: 1.25 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.1504, allocations: 25.7 kB / 0.939 GB, free: 1.219 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.553e-05/0.1505, allocations: 247.2 kB / 0.9392 GB, free: 0.9688 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.801e-05/0.1505, allocations: 47.58 kB / 0.9393 GB, free: 0.9219 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.459e-05/0.1506, allocations: 55.34 kB / 0.9393 GB, free: 0.8594 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1507, allocations: 0.5078 MB / 0.9398 GB, free: 348 kB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.013e-05/0.1507, allocations: 19.94 kB / 0.9398 GB, free: 328 kB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.381e-05/0.1508, allocations: 168.4 kB / 0.94 GB, free: 112 kB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.1509, allocations: 117.7 kB / 0.9401 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1509, allocations: 0 / 0.9401 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001843/0.1511, allocations: 153.2 kB / 0.9402 GB, free: 15.81 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.1511, allocations: 8 kB / 0.9403 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1511, allocations: 0 / 0.9403 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.318e-06/0.1511, allocations: 4.188 kB / 0.9403 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.1513, allocations: 43.91 kB / 0.9403 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.1513, allocations: 4 kB / 0.9403 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.416e-05/0.1513, allocations: 23.83 kB / 0.9403 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.1514, allocations: 8 kB / 0.9403 GB, free: 15.72 MB / 0.9011 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 8.718e-05/0.1514, allocations: 172.5 kB / 0.9405 GB, free: 15.54 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.491e-05/0.1515, allocations: 27.8 kB / 0.9405 GB, free: 15.51 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002202/0.1517, allocations: 150.2 kB / 0.9407 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1517, allocations: 0 / 0.9407 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.1517, allocations: 3.984 kB / 0.9407 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1517, allocations: 3.938 kB / 0.9407 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005021/0.1522, allocations: 0.5422 MB / 0.9412 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1522, allocations: 0 / 0.9412 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.108e-05/0.1523, allocations: 27.98 kB / 0.9412 GB, free: 14.72 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.1523, allocations: 7.938 kB / 0.9412 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.1523, allocations: 8 kB / 0.9412 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.1523, allocations: 7.984 kB / 0.9413 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1523, allocations: 8.156 kB / 0.9413 GB, free: 14.69 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001907/0.1525, allocations: 333.4 kB / 0.9416 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 4.919e-05/0.1526, allocations: 43.77 kB / 0.9416 GB, free: 14.27 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.1526, allocations: 4 kB / 0.9416 GB, free: 14.27 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.63e-05/0.1527, allocations: 8 kB / 0.9416 GB, free: 14.26 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.1527, allocations: 15.97 kB / 0.9416 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.1527, allocations: 12 kB / 0.9417 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 7.359e-05/0.1528, allocations: 185.1 kB / 0.9418 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.1528, allocations: 0 / 0.9418 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002646/0.1531, allocations: 111.7 kB / 0.9419 GB, free: 13.95 MB / 0.9011 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.0002448/0.1533, allocations: 178.9 kB / 0.9421 GB, free: 13.76 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001492/0.1535, allocations: 96.89 kB / 0.9422 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.1535, allocations: 4 kB / 0.9422 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 5.065e-05/0.1535, allocations: 47.53 kB / 0.9423 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.1539, allocations: 119.1 kB / 0.9424 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007777/0.1547, allocations: 0.5526 MB / 0.9429 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.032e-05/0.1547, allocations: 108.2 kB / 0.943 GB, free: 12.76 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001032/0.1548, allocations: 41.92 kB / 0.943 GB, free: 12.71 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002032/0.155, allocations: 170.1 kB / 0.9432 GB, free: 12.55 MB / 0.9011 GB Notification: Performance of SimCode: time 8.02e-07/0.155, allocations: 0 / 0.9432 GB, free: 12.55 MB / 0.9011 GB Notification: Performance of Templates: time 0.007364/0.1624, allocations: 5.825 MB / 0.9489 GB, free: 6.848 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.342427073046565]