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.0009802/0.0009802, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.001091/0.001091, allocations: 166.5 kB / 24.87 MB, free: 8.355 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.9433/0.9433, allocations: 177.1 MB / 205.3 MB, free: 4.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.927/1.927, allocations: 377.9 MB / 0.6247 GB, free: 8.961 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.102e-06/1.102e-06, allocations: 0 / 0.8128 GB, free: 42.56 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.089e-05/2.199e-05, allocations: 2.812 kB / 0.8128 GB, free: 42.55 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1483/0.1483, allocations: 144 MB / 0.9535 GB, free: 7.098 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003441/0.1517, allocations: 2.272 MB / 0.9557 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002869/0.152, allocations: 15.88 kB / 0.9557 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000357/0.1524, allocations: 95.2 kB / 0.9558 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.001494/0.1539, allocations: 0.6644 MB / 0.9564 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.155, allocations: 0.5125 MB / 0.9569 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0008579/0.1558, allocations: 0.7464 MB / 0.9577 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004155/0.1562, allocations: 242.8 kB / 0.9579 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006392/0.1569, allocations: 402.9 kB / 0.9583 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007164/0.1576, allocations: 406.9 kB / 0.9587 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.429e-05/0.1576, allocations: 28 kB / 0.9587 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008115/0.1584, allocations: 486.5 kB / 0.9592 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.1586, allocations: 123.6 kB / 0.9593 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001343/0.1587, allocations: 123.8 kB / 0.9594 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0008148/0.1595, allocations: 0.5334 MB / 0.9599 GB, free: 488 kB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1595, allocations: 0 / 0.9599 GB, free: 488 kB / 0.8386 GB Notification: Performance of FrontEnd: time 9.62e-07/0.1595, allocations: 4 kB / 0.9599 GB, free: 484 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.1595, allocations: 0 / 0.9599 GB, free: 484 kB / 0.8386 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.0008035/0.1603, allocations: 0.6838 MB / 0.9606 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.1604, allocations: 12.03 kB / 0.9606 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008093/0.1612, allocations: 192.1 kB / 0.9608 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004162/0.1616, allocations: 283.4 kB / 0.961 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.222e-05/0.1617, allocations: 72.62 kB / 0.9611 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002981/0.162, allocations: 31.94 kB / 0.9611 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000391/0.1624, allocations: 303.8 kB / 0.9614 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.1624, allocations: 0.7031 kB / 0.9614 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/0.1624, allocations: 12 kB / 0.9614 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.1624, allocations: 11.94 kB / 0.9615 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001469/0.1626, allocations: 95.36 kB / 0.9616 GB, free: 14.69 MB / 0.8542 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.001238/0.1638, allocations: 1.189 MB / 0.9627 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.164, allocations: 87.02 kB / 0.9628 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.603e-05/0.164, allocations: 37.08 kB / 0.9628 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003062/0.1643, allocations: 67.92 kB / 0.9629 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.1644, allocations: 41.38 kB / 0.9629 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 2.204e-06/0.1644, allocations: 4 kB / 0.9629 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0004221/0.1648, allocations: 157.3 kB / 0.9631 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.1648, allocations: 55.41 kB / 0.9631 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.165, allocations: 280.2 kB / 0.9634 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.165, allocations: 25.7 kB / 0.9634 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.1651, allocations: 255.1 kB / 0.9637 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.448e-05/0.1652, allocations: 55.52 kB / 0.9637 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.57e-05/0.1653, allocations: 43.36 kB / 0.9638 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1654, allocations: 0.5079 MB / 0.9643 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.559e-05/0.1655, allocations: 19.98 kB / 0.9643 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.1656, allocations: 168.1 kB / 0.9644 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.1657, allocations: 124.4 kB / 0.9646 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.1657, allocations: 0.9375 kB / 0.9646 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000271/0.166, allocations: 149.4 kB / 0.9647 GB, free: 11.24 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.166, allocations: 4 kB / 0.9647 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.166, allocations: 0 / 0.9647 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.166, allocations: 4 kB / 0.9647 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.1662, allocations: 39.92 kB / 0.9648 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.1662, allocations: 0 / 0.9648 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.1663, allocations: 27.81 kB / 0.9648 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.1663, allocations: 9.062 kB / 0.9648 GB, free: 11.16 MB / 0.8542 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.000111/0.1664, allocations: 172.7 kB / 0.965 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.569e-05/0.1665, allocations: 27.8 kB / 0.965 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002832/0.1668, allocations: 160 kB / 0.9651 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1668, allocations: 3.938 kB / 0.9651 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.1668, allocations: 4.562 kB / 0.9651 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1668, allocations: 3.938 kB / 0.9651 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006711/0.1675, allocations: 0.5345 MB / 0.9657 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.1675, allocations: 4.219 kB / 0.9657 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.853e-05/0.1676, allocations: 32.61 kB / 0.9657 GB, free: 10.15 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.1676, allocations: 9.344 kB / 0.9657 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.1676, allocations: 8 kB / 0.9657 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.1676, allocations: 4 kB / 0.9657 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1676, allocations: 0 / 0.9657 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002693/0.1679, allocations: 331 kB / 0.966 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.887e-05/0.1679, allocations: 43.77 kB / 0.9661 GB, free: 9.715 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.168, allocations: 4 kB / 0.9661 GB, free: 9.711 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.1681, allocations: 15.98 kB / 0.9661 GB, free: 9.695 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.1681, allocations: 11.98 kB / 0.9661 GB, free: 9.684 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.17e-05/0.1682, allocations: 15.98 kB / 0.9661 GB, free: 9.668 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.724e-05/0.1683, allocations: 193 kB / 0.9663 GB, free: 9.48 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.1683, allocations: 0 / 0.9663 GB, free: 9.48 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004253/0.1687, allocations: 107.7 kB / 0.9664 GB, free: 9.375 MB / 0.8542 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.0002902/0.169, allocations: 171 kB / 0.9666 GB, free: 9.195 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001929/0.1692, allocations: 96 kB / 0.9667 GB, free: 9.098 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1692, allocations: 0 / 0.9667 GB, free: 9.098 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.623e-05/0.1692, allocations: 52.2 kB / 0.9667 GB, free: 9.043 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005537/0.1698, allocations: 118.6 kB / 0.9668 GB, free: 8.938 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.1708, allocations: 0.5641 MB / 0.9674 GB, free: 8.316 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.384e-05/0.1709, allocations: 96.3 kB / 0.9675 GB, free: 8.203 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001575/0.1711, allocations: 40.14 kB / 0.9675 GB, free: 8.164 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002755/0.1713, allocations: 178 kB / 0.9677 GB, free: 7.988 MB / 0.8542 GB Notification: Performance of SimCode: time 8.32e-07/0.1713, allocations: 0 / 0.9677 GB, free: 7.988 MB / 0.8542 GB Notification: Performance of Templates: time 0.009928/0.1813, allocations: 5.828 MB / 0.9734 GB, free: 2.305 MB / 0.8542 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.585710882209241]