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.0007953/0.0007953, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007912/0.0007912, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.927/0.927, allocations: 177.2 MB / 203.5 MB, free: 5.73 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.723/1.723, allocations: 377.9 MB / 0.6229 GB, free: 8.621 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.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.773e-06/1.773e-06, allocations: 0 / 0.9822 GB, free: 0.9141 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.426e-05/2.603e-05, allocations: 5.375 kB / 0.9822 GB, free: 0.9102 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.6538/0.6538, allocations: 160.5 MB / 1.139 GB, free: 6.004 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.006064/0.6598, allocations: 4.152 MB / 1.143 GB, free: 2.727 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008303/0.6607, allocations: 28.88 kB / 1.143 GB, free: 2.711 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.000755/0.6614, allocations: 257.5 kB / 1.143 GB, free: 2.488 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.002094/0.6635, allocations: 0.7739 MB / 1.144 GB, free: 1.887 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.00374/0.6673, allocations: 1.612 MB / 1.146 GB, free: 0.7031 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.00178/0.669, allocations: 1.26 MB / 1.147 GB, free: 15.96 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006245/0.6697, allocations: 354.2 kB / 1.147 GB, free: 15.72 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002076/0.6717, allocations: 0.993 MB / 1.148 GB, free: 15.1 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005838/0.6723, allocations: 350.5 kB / 1.149 GB, free: 14.91 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 7.775e-05/0.6724, allocations: 44.09 kB / 1.149 GB, free: 14.91 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002577/0.675, allocations: 1.271 MB / 1.15 GB, free: 14.19 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002548/0.6752, allocations: 198.3 kB / 1.15 GB, free: 14.05 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002969/0.6755, allocations: 214 kB / 1.15 GB, free: 13.95 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002533/0.6781, allocations: 1.323 MB / 1.151 GB, free: 13.15 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.6781, allocations: 5.875 kB / 1.151 GB, free: 13.15 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.325e-06/0.6781, allocations: 0 / 1.151 GB, free: 13.15 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 3.215e-05/0.6781, allocations: 2.938 kB / 1.152 GB, free: 13.15 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001664/0.6798, allocations: 0.9577 MB / 1.152 GB, free: 12.38 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.6798, allocations: 12.16 kB / 1.152 GB, free: 12.38 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/0.6811, allocations: 291.6 kB / 1.153 GB, free: 12.24 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006811/0.6818, allocations: 405.7 kB / 1.153 GB, free: 11.93 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/0.6818, allocations: 35.83 kB / 1.153 GB, free: 11.91 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.687e-05/0.6819, allocations: 41.38 kB / 1.153 GB, free: 11.9 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007558/0.6826, allocations: 0.5463 MB / 1.154 GB, free: 11.54 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.6826, allocations: 3.938 kB / 1.154 GB, free: 11.53 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.412e-05/0.6827, allocations: 17.03 kB / 1.154 GB, free: 11.52 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.6827, allocations: 18.95 kB / 1.154 GB, free: 11.51 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006265/0.6833, allocations: 451 kB / 1.154 GB, free: 11.3 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/0.685, allocations: 1.686 MB / 1.156 GB, free: 9.922 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006366/0.6856, allocations: 383.5 kB / 1.156 GB, free: 9.73 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002722/0.6859, allocations: 215.3 kB / 1.156 GB, free: 9.625 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003099/0.6862, allocations: 98.11 kB / 1.156 GB, free: 9.586 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004112/0.6866, allocations: 308.5 kB / 1.157 GB, free: 9.391 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=37): time 3.146e-06/0.6866, allocations: 0 / 1.157 GB, free: 9.391 MB / 0.9948 GB Notification: Performance of matching and sorting (n=37): time 0.001072/0.6877, allocations: 0.6749 MB / 1.157 GB, free: 9.066 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.6878, allocations: 60.31 kB / 1.158 GB, free: 9 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003111/0.6881, allocations: 388.6 kB / 1.158 GB, free: 8.75 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/0.6881, allocations: 36.11 kB / 1.158 GB, free: 8.711 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.6883, allocations: 278.1 kB / 1.158 GB, free: 8.465 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 7.939e-05/0.6883, allocations: 130.9 kB / 1.158 GB, free: 8.352 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.6885, allocations: 91.7 kB / 1.158 GB, free: 8.293 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.6886, allocations: 360 kB / 1.159 GB, free: 7.945 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003127/0.6889, allocations: 260 kB / 1.159 GB, free: 7.781 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004048/0.6893, allocations: 497.1 kB / 1.159 GB, free: 7.344 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006107/0.6899, allocations: 0.5514 MB / 1.16 GB, free: 6.961 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.197e-06/0.6899, allocations: 0 / 1.16 GB, free: 6.961 MB / 0.9948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008121/0.6907, allocations: 0.6923 MB / 1.161 GB, free: 6.539 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 6.772e-05/0.6908, allocations: 59.38 kB / 1.161 GB, free: 6.477 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.6908, allocations: 5.469 kB / 1.161 GB, free: 6.477 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.964e-05/0.6908, allocations: 6.75 kB / 1.161 GB, free: 6.473 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/0.6911, allocations: 100.1 kB / 1.161 GB, free: 6.445 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/0.6911, allocations: 7.547 kB / 1.161 GB, free: 6.445 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003071/0.6914, allocations: 74.16 kB / 1.161 GB, free: 6.402 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.81e-05/0.6915, allocations: 26.08 kB / 1.161 GB, free: 6.395 MB / 0.9948 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.00025/0.6917, allocations: 188.2 kB / 1.161 GB, free: 6.234 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.604e-05/0.6918, allocations: 47.94 kB / 1.161 GB, free: 6.211 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008514/0.6926, allocations: 0.5286 MB / 1.162 GB, free: 5.91 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.6926, allocations: 6.188 kB / 1.162 GB, free: 5.906 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/0.6926, allocations: 2.75 kB / 1.162 GB, free: 5.906 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.6926, allocations: 0 / 1.162 GB, free: 5.906 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001652/0.6943, allocations: 1.222 MB / 1.163 GB, free: 5.07 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.6943, allocations: 2.531 kB / 1.163 GB, free: 5.07 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002382/0.6945, allocations: 80.81 kB / 1.163 GB, free: 5.043 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-05/0.6946, allocations: 5.406 kB / 1.163 GB, free: 5.043 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.111e-05/0.6946, allocations: 11.97 kB / 1.163 GB, free: 5.039 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.307e-06/0.6946, allocations: 9.406 kB / 1.163 GB, free: 5.035 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.6946, allocations: 2.812 kB / 1.163 GB, free: 5.035 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.6958, allocations: 0.9258 MB / 1.164 GB, free: 4.426 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001739/0.696, allocations: 85.05 kB / 1.164 GB, free: 4.371 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.933e-05/0.696, allocations: 14.27 kB / 1.164 GB, free: 4.363 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.6962, allocations: 38.81 kB / 1.164 GB, free: 4.344 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.6963, allocations: 54.52 kB / 1.164 GB, free: 4.309 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/0.6964, allocations: 13.31 kB / 1.164 GB, free: 4.309 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002481/0.6966, allocations: 268.4 kB / 1.164 GB, free: 4.137 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.6966, allocations: 0 / 1.164 GB, free: 4.137 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0006086/0.6972, allocations: 160.5 kB / 1.165 GB, free: 4.102 MB / 0.9948 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.0004398/0.6977, allocations: 199.1 kB / 1.165 GB, free: 3.953 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0009327/0.6986, allocations: 0.6273 MB / 1.165 GB, free: 3.547 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.6986, allocations: 0 / 1.165 GB, free: 3.547 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004158/0.699, allocations: 258.4 kB / 1.166 GB, free: 3.426 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008065/0.6998, allocations: 209.9 kB / 1.166 GB, free: 3.332 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.7016, allocations: 1.022 MB / 1.167 GB, free: 2.578 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001991/0.7018, allocations: 266 kB / 1.167 GB, free: 2.297 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.7019, allocations: 44.48 kB / 1.167 GB, free: 2.254 MB / 0.9948 GB Notification: Performance of SimCode: time 8.32e-07/0.7019, allocations: 0 / 1.167 GB, free: 2.254 MB / 0.9948 GB Notification: Performance of Templates: time 0.009355/0.7113, allocations: 8.248 MB / 1.175 GB, free: 10.08 MB / 1.01 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: 7.949290292337537]