Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001921/0.001921, allocations: 80.2 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002553/0.002553, allocations: 173.7 kB / 22.46 MB, free: 5.355 MB / 14.72 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.612/1.612, allocations: 177.2 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] 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 3.021/3.021, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] 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.TemperatureDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFloRat.T|temSteSta.T|temDyn.T|temDynLoss.T|masFloRat.ports.1..m_flow|senRelTem.T_rel",fileNamePrefix="Buildings_12_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.1..m_flow|senRelTem.T_rel",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.811e-05/2.995e-05, allocations: 6.281 kB / 0.9815 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.9793/0.9793, allocations: 160.5 MB / 1.138 GB, free: 45.43 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.007123/0.9865, allocations: 4.151 MB / 1.142 GB, free: 45.41 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001137/0.9876, allocations: 29.16 kB / 1.142 GB, free: 45.41 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001142/0.9887, allocations: 263.1 kB / 1.143 GB, free: 45.41 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002886/0.9916, allocations: 0.7803 MB / 1.143 GB, free: 45.38 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004583/0.9962, allocations: 1.613 MB / 1.145 GB, free: 45.33 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001857/0.9981, allocations: 1.251 MB / 1.146 GB, free: 45.33 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006515/0.9987, allocations: 363.7 kB / 1.146 GB, free: 45.31 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002072/1.001, allocations: 0.9833 MB / 1.147 GB, free: 45.3 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005617/1.001, allocations: 354.8 kB / 1.148 GB, free: 45.3 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.612e-05/1.001, allocations: 45.72 kB / 1.148 GB, free: 45.3 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002796/1.004, allocations: 1.273 MB / 1.149 GB, free: 45.27 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002681/1.005, allocations: 196.2 kB / 1.149 GB, free: 45.25 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003419/1.005, allocations: 217.2 kB / 1.149 GB, free: 45.22 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002379/1.007, allocations: 1.315 MB / 1.151 GB, free: 45.11 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.976e-06/1.007, allocations: 4.438 kB / 1.151 GB, free: 45.11 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.355e-06/1.007, allocations: 1.031 kB / 1.151 GB, free: 45.11 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.254e-05/1.007, allocations: 2.812 kB / 1.151 GB, free: 45.11 MB / 1.076 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.002005/1.009, allocations: 0.9691 MB / 1.152 GB, free: 44.52 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 6.332e-05/1.009, allocations: 10.56 kB / 1.152 GB, free: 44.52 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002266/1.012, allocations: 283.5 kB / 1.152 GB, free: 44.48 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008749/1.012, allocations: 407.5 kB / 1.152 GB, free: 44.3 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.428e-05/1.013, allocations: 36.78 kB / 1.152 GB, free: 44.3 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-05/1.013, allocations: 46.06 kB / 1.152 GB, free: 44.3 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/1.014, allocations: 0.5503 MB / 1.153 GB, free: 44.19 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/1.014, allocations: 0.7812 kB / 1.153 GB, free: 44.19 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.647e-05/1.014, allocations: 18.27 kB / 1.153 GB, free: 44.19 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.029e-05/1.014, allocations: 12.06 kB / 1.153 GB, free: 44.19 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/1.015, allocations: 459.8 kB / 1.153 GB, free: 44.18 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002502/1.017, allocations: 1.684 MB / 1.155 GB, free: 43.25 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/1.019, allocations: 401.5 kB / 1.155 GB, free: 43.23 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004988/1.019, allocations: 207.1 kB / 1.156 GB, free: 43.22 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006103/1.02, allocations: 101.5 kB / 1.156 GB, free: 43.21 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006792/1.02, allocations: 289.7 kB / 1.156 GB, free: 43.16 MB / 1.076 GB Notification: Performance of pre-optimization done (n=37): time 3.196e-06/1.02, allocations: 0 / 1.156 GB, free: 43.16 MB / 1.076 GB Notification: Performance of matching and sorting (n=37): time 0.001981/1.022, allocations: 0.6833 MB / 1.157 GB, free: 43.1 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/1.022, allocations: 65.05 kB / 1.157 GB, free: 43.03 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004938/1.023, allocations: 387 kB / 1.157 GB, free: 42.91 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.95e-05/1.023, allocations: 36.08 kB / 1.157 GB, free: 42.88 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002248/1.023, allocations: 270.4 kB / 1.157 GB, free: 42.73 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/1.023, allocations: 128.2 kB / 1.158 GB, free: 42.64 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001747/1.023, allocations: 95.31 kB / 1.158 GB, free: 42.62 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001381/1.024, allocations: 359.7 kB / 1.158 GB, free: 42.31 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005223/1.024, allocations: 254.5 kB / 1.158 GB, free: 42.25 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006687/1.025, allocations: 0.4889 MB / 1.159 GB, free: 41.93 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/1.026, allocations: 0.5482 MB / 1.159 GB, free: 41.75 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/1.026, allocations: 3.188 kB / 1.159 GB, free: 41.75 MB / 1.076 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001381/1.027, allocations: 0.6937 MB / 1.16 GB, free: 41.57 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.685e-05/1.027, allocations: 65.14 kB / 1.16 GB, free: 41.51 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/1.027, allocations: 4.75 kB / 1.16 GB, free: 41.51 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.836e-05/1.027, allocations: 3 kB / 1.16 GB, free: 41.51 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004761/1.028, allocations: 98.55 kB / 1.16 GB, free: 41.51 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/1.028, allocations: 6.906 kB / 1.16 GB, free: 41.51 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005458/1.028, allocations: 63.91 kB / 1.16 GB, free: 41.49 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.437e-05/1.028, allocations: 31.8 kB / 1.16 GB, free: 41.48 MB / 1.076 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.0002533/1.029, allocations: 188.4 kB / 1.16 GB, free: 41.37 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.705e-05/1.029, allocations: 54.17 kB / 1.16 GB, free: 41.34 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/1.03, allocations: 0.5262 MB / 1.161 GB, free: 41.29 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/1.03, allocations: 3.75 kB / 1.161 GB, free: 41.29 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/1.03, allocations: 0 / 1.161 GB, free: 41.29 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/1.03, allocations: 0.7812 kB / 1.161 GB, free: 41.29 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002221/1.032, allocations: 1.219 MB / 1.162 GB, free: 40.93 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/1.032, allocations: 7.438 kB / 1.162 GB, free: 40.93 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004016/1.033, allocations: 78.83 kB / 1.162 GB, free: 40.93 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/1.033, allocations: 5.688 kB / 1.162 GB, free: 40.93 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.877e-05/1.033, allocations: 12.16 kB / 1.162 GB, free: 40.93 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/1.033, allocations: 9.844 kB / 1.162 GB, free: 40.93 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/1.033, allocations: 10.34 kB / 1.162 GB, free: 40.93 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/1.034, allocations: 0.9339 MB / 1.163 GB, free: 40.64 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001661/1.035, allocations: 84.48 kB / 1.163 GB, free: 40.61 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.758e-05/1.035, allocations: 14.78 kB / 1.163 GB, free: 40.61 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004176/1.035, allocations: 40.98 kB / 1.163 GB, free: 40.61 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/1.035, allocations: 47.73 kB / 1.163 GB, free: 40.61 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.654e-05/1.035, allocations: 20.8 kB / 1.163 GB, free: 40.61 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003104/1.036, allocations: 261.1 kB / 1.164 GB, free: 40.52 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.036, allocations: 0 / 1.164 GB, free: 40.52 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000699/1.036, allocations: 161.4 kB / 1.164 GB, free: 40.5 MB / 1.076 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.0004157/1.037, allocations: 192.5 kB / 1.164 GB, free: 40.4 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001188/1.038, allocations: 0.6299 MB / 1.165 GB, free: 40.2 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/1.038, allocations: 2.875 kB / 1.165 GB, free: 40.2 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006321/1.038, allocations: 270.3 kB / 1.165 GB, free: 40.2 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/1.04, allocations: 202.4 kB / 1.165 GB, free: 40.2 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/1.042, allocations: 0.9797 MB / 1.166 GB, free: 39.7 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/1.042, allocations: 272.2 kB / 1.166 GB, free: 39.61 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004065/1.042, allocations: 111.7 kB / 1.166 GB, free: 39.6 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/1.042, allocations: 36.41 kB / 1.166 GB, free: 39.59 MB / 1.076 GB Notification: Performance of SimCode: time 6.01e-07/1.042, allocations: 0.875 kB / 1.166 GB, free: 39.59 MB / 1.076 GB Notification: Performance of Templates: time 0.02206/1.065, allocations: 9.054 MB / 1.175 GB, free: 38.84 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.318206243216991]