Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.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.0009416/0.0009416, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.000949/0.000949, allocations: 173 kB / 23.5 MB, free: 1.055 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.008/1.008, allocations: 177.1 MB / 203.8 MB, free: 5.609 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.112/2.112, allocations: 429.5 MB / 0.6736 GB, free: 4.031 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.TemperatureDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFloRat.T|temSteSta.T|temDyn.T|temDynLoss.T|masFloRat.ports.[0-9,]+..m_flow|senRelTem.T_rel",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFloRat.T|temSteSta.T|temDyn.T|temDynLoss.T|masFloRat.ports.[0-9,]+..m_flow|senRelTem.T_rel",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.8782 GB, free: 6.594 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.646e-05/2.797e-05, allocations: 5.781 kB / 0.8782 GB, free: 6.59 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1543/0.1544, allocations: 178.5 MB / 1.053 GB, free: 3.441 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.5041/0.6585, allocations: 4.529 MB / 1.057 GB, free: 47.69 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006899/0.6592, allocations: 27.47 kB / 1.057 GB, free: 47.69 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0006588/0.6598, allocations: 260 kB / 1.057 GB, free: 47.69 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001557/0.6614, allocations: 0.7798 MB / 1.058 GB, free: 47.69 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002791/0.6642, allocations: 1.597 MB / 1.06 GB, free: 47.65 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001324/0.6655, allocations: 1.216 MB / 1.061 GB, free: 47.65 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005486/0.666, allocations: 354.7 kB / 1.061 GB, free: 47.64 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001561/0.6676, allocations: 0.9788 MB / 1.062 GB, free: 47.64 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004586/0.6681, allocations: 349.5 kB / 1.062 GB, free: 47.64 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 8.12e-05/0.6681, allocations: 48.19 kB / 1.062 GB, free: 47.64 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001999/0.6701, allocations: 1.265 MB / 1.064 GB, free: 47.62 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.000209/0.6703, allocations: 205 kB / 1.064 GB, free: 47.62 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002665/0.6706, allocations: 209.6 kB / 1.064 GB, free: 47.62 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.00189/0.6725, allocations: 1.155 MB / 1.065 GB, free: 47.54 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.6725, allocations: 0.5 kB / 1.065 GB, free: 47.54 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6725, allocations: 0 / 1.065 GB, free: 47.54 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.884e-05/0.6725, allocations: 0.7812 kB / 1.065 GB, free: 47.54 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001239/0.6738, allocations: 1.039 MB / 1.066 GB, free: 46.86 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.6738, allocations: 8.594 kB / 1.066 GB, free: 46.86 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/0.6751, allocations: 386.4 kB / 1.067 GB, free: 46.78 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005481/0.6756, allocations: 420.4 kB / 1.067 GB, free: 46.58 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.6756, allocations: 30.41 kB / 1.067 GB, free: 46.58 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.58e-05/0.6757, allocations: 52.28 kB / 1.067 GB, free: 46.58 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004761/0.6762, allocations: 422.8 kB / 1.067 GB, free: 46.44 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.6762, allocations: 1.094 kB / 1.067 GB, free: 46.44 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.007e-05/0.6762, allocations: 17.06 kB / 1.067 GB, free: 46.44 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.6762, allocations: 11.81 kB / 1.068 GB, free: 46.44 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002913/0.6765, allocations: 183.3 kB / 1.068 GB, free: 46.43 MB / 1.01 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.001463/0.678, allocations: 2.037 MB / 1.07 GB, free: 45.08 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003791/0.6784, allocations: 168.3 kB / 1.07 GB, free: 45.04 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.6785, allocations: 79.58 kB / 1.07 GB, free: 45.03 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002929/0.6788, allocations: 85.81 kB / 1.07 GB, free: 45.03 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002509/0.679, allocations: 178 kB / 1.07 GB, free: 44.97 MB / 1.01 GB Notification: Performance of pre-optimization done (n=37): time 2.705e-06/0.679, allocations: 0 / 1.07 GB, free: 44.97 MB / 1.01 GB Notification: Performance of matching and sorting (n=37): time 0.0006555/0.6797, allocations: 350.7 kB / 1.07 GB, free: 44.9 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.6797, allocations: 57 kB / 1.071 GB, free: 44.84 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.68, allocations: 411 kB / 1.071 GB, free: 44.66 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.68, allocations: 32.45 kB / 1.071 GB, free: 44.62 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.6801, allocations: 322.8 kB / 1.071 GB, free: 44.42 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 7.016e-05/0.6802, allocations: 130 kB / 1.071 GB, free: 44.34 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.6803, allocations: 97.75 kB / 1.072 GB, free: 44.32 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.33e-05/0.6804, allocations: 0.5287 MB / 1.072 GB, free: 43.82 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.6805, allocations: 112.9 kB / 1.072 GB, free: 43.76 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002217/0.6808, allocations: 397.2 kB / 1.073 GB, free: 43.39 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002983/0.6811, allocations: 330.6 kB / 1.073 GB, free: 43.17 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.6811, allocations: 0.9062 kB / 1.073 GB, free: 43.17 MB / 1.01 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0004717/0.6815, allocations: 469.7 kB / 1.073 GB, free: 42.98 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.677e-05/0.6816, allocations: 65.45 kB / 1.073 GB, free: 42.92 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.6816, allocations: 2.875 kB / 1.073 GB, free: 42.92 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.6816, allocations: 6.625 kB / 1.073 GB, free: 42.92 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002432/0.6818, allocations: 95.39 kB / 1.073 GB, free: 42.92 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.6819, allocations: 8.406 kB / 1.073 GB, free: 42.92 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/0.6821, allocations: 59.48 kB / 1.073 GB, free: 42.9 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.638e-05/0.6821, allocations: 25.89 kB / 1.074 GB, free: 42.9 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.0001224/0.6822, allocations: 184.8 kB / 1.074 GB, free: 42.74 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.177e-05/0.6823, allocations: 67.12 kB / 1.074 GB, free: 42.71 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004138/0.6827, allocations: 294.5 kB / 1.074 GB, free: 42.66 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.6827, allocations: 4.688 kB / 1.074 GB, free: 42.66 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.6827, allocations: 0.8438 kB / 1.074 GB, free: 42.66 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.6827, allocations: 3.422 kB / 1.074 GB, free: 42.66 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009907/0.6837, allocations: 0.9339 MB / 1.075 GB, free: 42.19 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.6837, allocations: 2.594 kB / 1.075 GB, free: 42.19 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.6839, allocations: 64.52 kB / 1.075 GB, free: 42.19 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.6839, allocations: 5.469 kB / 1.075 GB, free: 42.19 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.6839, allocations: 16.67 kB / 1.075 GB, free: 42.19 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/0.684, allocations: 15.25 kB / 1.075 GB, free: 42.19 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.684, allocations: 5.281 kB / 1.075 GB, free: 42.19 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005376/0.6845, allocations: 0.5912 MB / 1.076 GB, free: 41.8 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.6846, allocations: 83.59 kB / 1.076 GB, free: 41.77 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.533e-05/0.6846, allocations: 13.28 kB / 1.076 GB, free: 41.77 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.6848, allocations: 31.83 kB / 1.076 GB, free: 41.77 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.613e-05/0.6849, allocations: 51.61 kB / 1.076 GB, free: 41.76 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.6849, allocations: 12.77 kB / 1.076 GB, free: 41.76 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.000147/0.6851, allocations: 267.1 kB / 1.076 GB, free: 41.64 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.6851, allocations: 5.938 kB / 1.076 GB, free: 41.64 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004506/0.6855, allocations: 168.3 kB / 1.076 GB, free: 41.61 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003047/0.6858, allocations: 186.9 kB / 1.076 GB, free: 41.52 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004595/0.6863, allocations: 395.2 kB / 1.077 GB, free: 41.32 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.6863, allocations: 7.25 kB / 1.077 GB, free: 41.32 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.6865, allocations: 121.9 kB / 1.077 GB, free: 41.3 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006491/0.6871, allocations: 197.5 kB / 1.077 GB, free: 41.3 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.6885, allocations: 0.9711 MB / 1.078 GB, free: 40.73 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.155e-05/0.6886, allocations: 133.7 kB / 1.078 GB, free: 40.66 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002647/0.6889, allocations: 99.34 kB / 1.078 GB, free: 40.65 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.954e-05/0.689, allocations: 39.78 kB / 1.078 GB, free: 40.64 MB / 1.01 GB Notification: Performance of SimCode: time 1.062e-06/0.689, allocations: 0.9062 kB / 1.078 GB, free: 40.64 MB / 1.01 GB Notification: Performance of Templates: time 0.01217/0.7011, allocations: 9.062 MB / 1.087 GB, free: 39.96 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.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.28959782095626]