Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.0009961/0.0009961, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001136/0.001136, allocations: 173 kB / 23.5 MB, free: 1.051 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 1.005/1.005, allocations: 177.2 MB / 203.8 MB, free: 5.59 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.128/2.128, allocations: 429.5 MB / 0.6736 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.8782 GB, free: 6.598 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.489e-05/1.636e-05, allocations: 2.969 kB / 0.8782 GB, free: 6.594 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.14/0.14, allocations: 157.4 MB / 1.032 GB, free: 8.617 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.003966/0.144, allocations: 4.642 MB / 1.036 GB, free: 3.961 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002999/0.1443, allocations: 15.88 kB / 1.037 GB, free: 3.945 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005874/0.1449, allocations: 131 kB / 1.037 GB, free: 3.816 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.000782/0.1456, allocations: 350.1 kB / 1.037 GB, free: 3.473 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005447/0.1462, allocations: 299.1 kB / 1.037 GB, free: 3.18 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0004532/0.1466, allocations: 0.5299 MB / 1.038 GB, free: 2.645 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002527/0.1469, allocations: 158.5 kB / 1.038 GB, free: 2.492 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001072/0.148, allocations: 0.7199 MB / 1.039 GB, free: 1.77 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.1481, allocations: 175.5 kB / 1.039 GB, free: 1.598 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.819e-05/0.1482, allocations: 16 kB / 1.039 GB, free: 1.582 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.1483, allocations: 83.86 kB / 1.039 GB, free: 1.5 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 8.375e-05/0.1484, allocations: 87.78 kB / 1.039 GB, free: 1.414 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 8.057e-05/0.1485, allocations: 87.77 kB / 1.039 GB, free: 1.328 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002971/0.1488, allocations: 243.1 kB / 1.039 GB, free: 1.09 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1488, allocations: 0 / 1.039 GB, free: 1.09 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1488, allocations: 4 kB / 1.039 GB, free: 1.086 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.1488, allocations: 0 / 1.039 GB, free: 1.086 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0005941/0.1494, allocations: 0.5535 MB / 1.04 GB, free: 0.4961 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.1494, allocations: 8.031 kB / 1.04 GB, free: 500 kB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.927e-05/0.1495, allocations: 43.8 kB / 1.04 GB, free: 456 kB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.1498, allocations: 228.2 kB / 1.04 GB, free: 200 kB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.1498, allocations: 15.94 kB / 1.04 GB, free: 184 kB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.56e-05/0.1498, allocations: 20 kB / 1.04 GB, free: 164 kB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002809/0.1501, allocations: 242.7 kB / 1.04 GB, free: 15.87 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1501, allocations: 4 kB / 1.04 GB, free: 15.87 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.1501, allocations: 8 kB / 1.04 GB, free: 15.86 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.1501, allocations: 4 kB / 1.04 GB, free: 15.86 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.1502, allocations: 70.2 kB / 1.04 GB, free: 15.79 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009484/0.1512, allocations: 1.692 MB / 1.042 GB, free: 14.01 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.1514, allocations: 198.6 kB / 1.042 GB, free: 13.74 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.174e-05/0.1514, allocations: 70.11 kB / 1.042 GB, free: 13.65 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001608/0.1516, allocations: 35.95 kB / 1.042 GB, free: 13.61 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.1516, allocations: 45.33 kB / 1.042 GB, free: 13.56 MB / 1.01 GB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.1516, allocations: 3.938 kB / 1.042 GB, free: 13.55 MB / 1.01 GB Notification: Performance of matching and sorting (n=10): time 0.0002613/0.1519, allocations: 121.4 kB / 1.043 GB, free: 13.43 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002232/0.1521, allocations: 191.9 kB / 1.043 GB, free: 13.2 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.1522, allocations: 245.8 kB / 1.043 GB, free: 12.94 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.1522, allocations: 26.33 kB / 1.043 GB, free: 12.91 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 8.665e-05/0.1523, allocations: 215 kB / 1.043 GB, free: 12.7 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.1524, allocations: 35.64 kB / 1.043 GB, free: 12.66 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.565e-05/0.1524, allocations: 43.36 kB / 1.043 GB, free: 12.61 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.1525, allocations: 0.5001 MB / 1.044 GB, free: 12.1 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.083e-05/0.1525, allocations: 12 kB / 1.044 GB, free: 12.09 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.1526, allocations: 211.9 kB / 1.044 GB, free: 11.82 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.91e-05/0.1527, allocations: 109.4 kB / 1.044 GB, free: 11.68 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1527, allocations: 0 / 1.044 GB, free: 11.68 MB / 1.01 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001387/0.1529, allocations: 129.3 kB / 1.044 GB, free: 11.54 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.1529, allocations: 8 kB / 1.044 GB, free: 11.54 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1529, allocations: 0 / 1.044 GB, free: 11.54 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.1529, allocations: 4 kB / 1.044 GB, free: 11.53 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.329e-05/0.153, allocations: 28.14 kB / 1.044 GB, free: 11.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.153, allocations: 11.94 kB / 1.044 GB, free: 11.49 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.903e-05/0.1531, allocations: 19.92 kB / 1.044 GB, free: 11.47 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.1531, allocations: 4 kB / 1.044 GB, free: 11.47 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 8.565e-05/0.1532, allocations: 172.5 kB / 1.044 GB, free: 11.29 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.465e-05/0.1533, allocations: 19.86 kB / 1.044 GB, free: 11.27 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.1534, allocations: 87.12 kB / 1.045 GB, free: 11.18 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1534, allocations: 0 / 1.045 GB, free: 11.18 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1534, allocations: 8 kB / 1.045 GB, free: 11.17 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.1534, allocations: 4 kB / 1.045 GB, free: 11.16 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005253/0.1539, allocations: 0.9105 MB / 1.045 GB, free: 10.19 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1539, allocations: 4 kB / 1.045 GB, free: 10.18 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.783e-05/0.154, allocations: 23.92 kB / 1.045 GB, free: 10.16 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.154, allocations: 0 / 1.045 GB, free: 10.16 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.154, allocations: 4 kB / 1.045 GB, free: 10.16 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.154, allocations: 7.938 kB / 1.045 GB, free: 10.15 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.154, allocations: 0 / 1.045 GB, free: 10.15 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.1542, allocations: 302.3 kB / 1.046 GB, free: 9.812 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 3.551e-05/0.1543, allocations: 39.75 kB / 1.046 GB, free: 9.773 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.1543, allocations: 4 kB / 1.046 GB, free: 9.77 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.191e-05/0.1543, allocations: 4 kB / 1.046 GB, free: 9.766 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.1544, allocations: 15.97 kB / 1.046 GB, free: 9.75 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.1544, allocations: 4 kB / 1.046 GB, free: 9.746 MB / 1.01 GB Notification: Performance of sorting global known variables: time 7.316e-05/0.1544, allocations: 176.3 kB / 1.046 GB, free: 9.574 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.1544, allocations: 0 / 1.046 GB, free: 9.574 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002194/0.1547, allocations: 63.83 kB / 1.046 GB, free: 9.512 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.0001626/0.1548, allocations: 119.2 kB / 1.046 GB, free: 9.387 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001422/0.155, allocations: 75.53 kB / 1.046 GB, free: 9.309 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.155, allocations: 0 / 1.046 GB, free: 9.309 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 4.299e-05/0.155, allocations: 35.7 kB / 1.046 GB, free: 9.27 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.1553, allocations: 64.81 kB / 1.046 GB, free: 9.207 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007737/0.1561, allocations: 455.6 kB / 1.047 GB, free: 8.715 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.875e-05/0.1562, allocations: 87.97 kB / 1.047 GB, free: 8.609 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 6.349e-05/0.1562, allocations: 33.45 kB / 1.047 GB, free: 8.578 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.671e-05/0.1563, allocations: 20.5 kB / 1.047 GB, free: 8.555 MB / 1.01 GB Notification: Performance of SimCode: time 1.072e-06/0.1563, allocations: 0 / 1.047 GB, free: 8.555 MB / 1.01 GB Notification: Performance of Templates: time 0.004845/0.1611, allocations: 2.608 MB / 1.049 GB, free: 6.02 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.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: 6.092365799006075]