Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009381/0.0009381, allocations: 80.94 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.000991/0.000991, allocations: 173 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 0.9846/0.9846, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.349/2.349, allocations: 438.8 MB / 0.6827 GB, free: 13.59 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.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.273e-05/2.428e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1366/0.1366, allocations: 146.1 MB / 0.9813 GB, free: 11.5 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.002558/0.1392, allocations: 2.297 MB / 0.9835 GB, free: 9.203 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001867/0.1394, allocations: 19.81 kB / 0.9836 GB, free: 9.184 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003476/0.1397, allocations: 91.19 kB / 0.9836 GB, free: 9.094 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001143/0.1408, allocations: 0.6606 MB / 0.9843 GB, free: 8.43 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007889/0.1416, allocations: 0.5103 MB / 0.9848 GB, free: 7.918 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0008207/0.1425, allocations: 0.7288 MB / 0.9855 GB, free: 7.188 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002577/0.1427, allocations: 230.1 kB / 0.9857 GB, free: 6.965 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004179/0.1431, allocations: 387 kB / 0.9861 GB, free: 6.586 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004865/0.1436, allocations: 386.8 kB / 0.9865 GB, free: 6.207 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.558e-05/0.1437, allocations: 28 kB / 0.9865 GB, free: 6.18 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005814/0.1442, allocations: 478.6 kB / 0.9869 GB, free: 5.711 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 9.332e-05/0.1443, allocations: 119.6 kB / 0.9871 GB, free: 5.594 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 9.389e-05/0.1444, allocations: 123.7 kB / 0.9872 GB, free: 5.473 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005253/0.1449, allocations: 0.5373 MB / 0.9877 GB, free: 4.934 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.1449, allocations: 0 / 0.9877 GB, free: 4.934 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1449, allocations: 4 kB / 0.9877 GB, free: 4.93 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.145, allocations: 0 / 0.9877 GB, free: 4.93 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0005457/0.1455, allocations: 0.5499 MB / 0.9882 GB, free: 4.355 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.1455, allocations: 8.625 kB / 0.9882 GB, free: 4.348 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005439/0.1461, allocations: 180.3 kB / 0.9884 GB, free: 4.172 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002828/0.1464, allocations: 264.6 kB / 0.9887 GB, free: 3.883 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.717e-05/0.1464, allocations: 72.62 kB / 0.9887 GB, free: 3.797 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.338e-05/0.1464, allocations: 31.94 kB / 0.9888 GB, free: 3.766 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/0.1467, allocations: 296.4 kB / 0.989 GB, free: 3.445 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.1467, allocations: 0 / 0.989 GB, free: 3.445 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.1468, allocations: 15.94 kB / 0.9891 GB, free: 3.43 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.1468, allocations: 4 kB / 0.9891 GB, free: 3.426 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.1469, allocations: 86.23 kB / 0.9892 GB, free: 3.344 MB / 0.948 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.0008163/0.1477, allocations: 0.8732 MB / 0.99 GB, free: 2.438 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.1478, allocations: 122.9 kB / 0.9901 GB, free: 2.305 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.179e-05/0.1479, allocations: 39.61 kB / 0.9902 GB, free: 2.262 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002248/0.1481, allocations: 71.94 kB / 0.9902 GB, free: 2.191 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.1481, allocations: 38.55 kB / 0.9903 GB, free: 2.145 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 1.012e-06/0.1481, allocations: 0 / 0.9903 GB, free: 2.145 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.0002777/0.1484, allocations: 121.5 kB / 0.9904 GB, free: 2.02 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.61e-05/0.1484, allocations: 55.41 kB / 0.9904 GB, free: 1.953 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.1485, allocations: 221 kB / 0.9906 GB, free: 1.727 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.1486, allocations: 33.7 kB / 0.9907 GB, free: 1.688 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.271e-05/0.1486, allocations: 180.9 kB / 0.9908 GB, free: 1.504 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.1487, allocations: 55.52 kB / 0.9909 GB, free: 1.449 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.992e-05/0.1487, allocations: 37.69 kB / 0.9909 GB, free: 1.406 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.744e-05/0.1488, allocations: 342.7 kB / 0.9913 GB, free: 1.062 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.315e-05/0.1488, allocations: 18.77 kB / 0.9913 GB, free: 1.043 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.062e-05/0.1489, allocations: 147.1 kB / 0.9914 GB, free: 0.8594 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.607e-05/0.149, allocations: 103.5 kB / 0.9915 GB, free: 0.7344 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.149, allocations: 0 / 0.9915 GB, free: 0.7344 MB / 0.948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000159/0.1492, allocations: 124.2 kB / 0.9916 GB, free: 0.6055 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.1492, allocations: 8 kB / 0.9916 GB, free: 0.5977 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1492, allocations: 0 / 0.9916 GB, free: 0.5977 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.1492, allocations: 4 kB / 0.9917 GB, free: 0.5938 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.1493, allocations: 44.09 kB / 0.9917 GB, free: 0.5508 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.1493, allocations: 4 kB / 0.9917 GB, free: 0.5469 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.875e-05/0.1494, allocations: 19.83 kB / 0.9917 GB, free: 0.5273 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.1494, allocations: 8 kB / 0.9917 GB, free: 0.5195 MB / 0.948 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 0.0003347/0.1497, allocations: 128.6 kB / 0.9918 GB, free: 392 kB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.943e-05/0.1498, allocations: 19.92 kB / 0.9919 GB, free: 372 kB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001913/0.15, allocations: 137.7 kB / 0.992 GB, free: 228 kB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.15, allocations: 4 kB / 0.992 GB, free: 224 kB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.15, allocations: 0 / 0.992 GB, free: 224 kB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.15, allocations: 0 / 0.992 GB, free: 224 kB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004728/0.1504, allocations: 0.5194 MB / 0.9925 GB, free: 15.64 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1504, allocations: 3.938 kB / 0.9925 GB, free: 15.64 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.857e-05/0.1505, allocations: 27.98 kB / 0.9925 GB, free: 15.61 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.1505, allocations: 7.938 kB / 0.9925 GB, free: 15.61 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.1505, allocations: 0 / 0.9925 GB, free: 15.61 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1505, allocations: 4 kB / 0.9925 GB, free: 15.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.1505, allocations: 7.938 kB / 0.9926 GB, free: 15.59 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.1507, allocations: 300.2 kB / 0.9928 GB, free: 15.25 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.911e-05/0.1508, allocations: 43.77 kB / 0.9929 GB, free: 15.21 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.1508, allocations: 11.88 kB / 0.9929 GB, free: 15.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.041e-05/0.1509, allocations: 11.98 kB / 0.9929 GB, free: 15.19 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.138e-05/0.1509, allocations: 11.98 kB / 0.9929 GB, free: 15.18 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.1509, allocations: 7.984 kB / 0.9929 GB, free: 15.17 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.983e-05/0.151, allocations: 74.78 kB / 0.993 GB, free: 15.09 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.151, allocations: 0 / 0.993 GB, free: 15.09 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002512/0.1512, allocations: 107.7 kB / 0.9931 GB, free: 14.99 MB / 0.9636 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.0002294/0.1514, allocations: 156.1 kB / 0.9932 GB, free: 14.83 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001355/0.1516, allocations: 88.94 kB / 0.9933 GB, free: 14.74 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.1516, allocations: 4 kB / 0.9933 GB, free: 14.73 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.734e-05/0.1516, allocations: 44.72 kB / 0.9934 GB, free: 14.69 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.1519, allocations: 102.9 kB / 0.9935 GB, free: 14.59 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008257/0.1528, allocations: 0.537 MB / 0.994 GB, free: 14 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.6e-05/0.1528, allocations: 100.3 kB / 0.9941 GB, free: 13.88 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001028/0.1529, allocations: 45.88 kB / 0.9941 GB, free: 13.83 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001952/0.1531, allocations: 131.2 kB / 0.9943 GB, free: 13.7 MB / 0.9636 GB Notification: Performance of SimCode: time 6.12e-07/0.1531, allocations: 0 / 0.9943 GB, free: 13.7 MB / 0.9636 GB Notification: Performance of Templates: time 0.007422/0.1606, allocations: 5.541 MB / 0.9997 GB, free: 8.273 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.5562496511265635]