Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001722/0.001722, allocations: 104.3 kB / 19.7 MB, free: 2.004 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.002478/0.002478, allocations: 219 kB / 22.99 MB, free: 4.918 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.532/1.532, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.828/2.828, allocations: 476 MB / 0.7707 GB, free: 4.695 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 65.69 kB / 1.118 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3146, allocations: 170 MB / 1.284 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2203/0.5349, allocations: 160.6 MB / 1.441 GB, free: 10.68 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.007728/0.5427, allocations: 4.154 MB / 1.445 GB, free: 6.52 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008882/0.5436, allocations: 27.75 kB / 1.445 GB, free: 6.492 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.000976/0.5445, allocations: 262 kB / 1.445 GB, free: 6.234 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002358/0.5469, allocations: 0.7659 MB / 1.446 GB, free: 5.465 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004297/0.5512, allocations: 1.548 MB / 1.447 GB, free: 3.918 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002167/0.5534, allocations: 1.266 MB / 1.448 GB, free: 2.648 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007353/0.5541, allocations: 353.7 kB / 1.449 GB, free: 2.289 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001461/0.5555, allocations: 0.5995 MB / 1.449 GB, free: 1.688 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006364/0.5562, allocations: 414.2 kB / 1.45 GB, free: 1.281 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 9.123e-05/0.5563, allocations: 47.98 kB / 1.45 GB, free: 1.234 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002757/0.559, allocations: 1.254 MB / 1.451 GB, free: 15.98 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000295/0.5593, allocations: 191.4 kB / 1.451 GB, free: 15.79 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0003626/0.5597, allocations: 262.8 kB / 1.452 GB, free: 15.53 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002607/0.5623, allocations: 1.25 MB / 1.453 GB, free: 14.28 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.5623, allocations: 0 / 1.453 GB, free: 14.28 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5623, allocations: 4 kB / 1.453 GB, free: 14.27 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.703e-05/0.5623, allocations: 3.938 kB / 1.453 GB, free: 14.27 MB / 1.154 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.001946/0.5643, allocations: 0.9644 MB / 1.454 GB, free: 13.26 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.5643, allocations: 8.031 kB / 1.454 GB, free: 13.25 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002023/0.5663, allocations: 291.2 kB / 1.454 GB, free: 12.97 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009396/0.5673, allocations: 402.6 kB / 1.454 GB, free: 12.55 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.919e-05/0.5673, allocations: 41 kB / 1.454 GB, free: 12.51 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.924e-05/0.5674, allocations: 43.94 kB / 1.454 GB, free: 12.46 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.5685, allocations: 0.5507 MB / 1.455 GB, free: 11.88 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.5685, allocations: 0 / 1.455 GB, free: 11.88 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.485e-05/0.5686, allocations: 16 kB / 1.455 GB, free: 11.87 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/0.5686, allocations: 15.94 kB / 1.455 GB, free: 11.85 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.5697, allocations: 459.5 kB / 1.455 GB, free: 11.4 MB / 1.154 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.002809/0.5725, allocations: 1.686 MB / 1.457 GB, free: 9.652 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.5736, allocations: 390.4 kB / 1.457 GB, free: 9.262 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005263/0.5741, allocations: 216.7 kB / 1.458 GB, free: 9.047 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005673/0.5747, allocations: 88.5 kB / 1.458 GB, free: 8.961 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007109/0.5754, allocations: 300.4 kB / 1.458 GB, free: 8.656 MB / 1.154 GB Notification: Performance of pre-optimization done (n=37): time 3.327e-06/0.5754, allocations: 0 / 1.458 GB, free: 8.656 MB / 1.154 GB Notification: Performance of matching and sorting (n=37): time 0.001982/0.5774, allocations: 0.6891 MB / 1.459 GB, free: 7.961 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.443e-05/0.5774, allocations: 59.41 kB / 1.459 GB, free: 7.891 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005336/0.578, allocations: 381.9 kB / 1.459 GB, free: 7.508 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 7.316e-05/0.578, allocations: 37.7 kB / 1.459 GB, free: 7.465 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002572/0.5783, allocations: 280.4 kB / 1.459 GB, free: 7.188 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.000137/0.5784, allocations: 134.8 kB / 1.46 GB, free: 7.055 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001768/0.5786, allocations: 90.08 kB / 1.46 GB, free: 6.961 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001994/0.5788, allocations: 350.8 kB / 1.46 GB, free: 6.609 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00058/0.5794, allocations: 260.2 kB / 1.46 GB, free: 6.344 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000784/0.5802, allocations: 0.4918 MB / 1.461 GB, free: 5.773 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.5813, allocations: 0.5449 MB / 1.461 GB, free: 5.176 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.5813, allocations: 0 / 1.461 GB, free: 5.176 MB / 1.154 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001542/0.5829, allocations: 0.7103 MB / 1.462 GB, free: 4.434 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 6.428e-05/0.5829, allocations: 59.41 kB / 1.462 GB, free: 4.363 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.5829, allocations: 3.938 kB / 1.462 GB, free: 4.359 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.583, allocations: 8 kB / 1.462 GB, free: 4.352 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004742/0.5834, allocations: 91.88 kB / 1.462 GB, free: 4.262 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-05/0.5835, allocations: 11.94 kB / 1.462 GB, free: 4.25 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005366/0.584, allocations: 67.98 kB / 1.462 GB, free: 4.184 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.876e-05/0.5841, allocations: 23.98 kB / 1.462 GB, free: 4.16 MB / 1.154 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.0003094/0.5844, allocations: 181.8 kB / 1.462 GB, free: 3.973 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.143e-05/0.5844, allocations: 55.61 kB / 1.462 GB, free: 3.918 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/0.5858, allocations: 0.5327 MB / 1.463 GB, free: 3.375 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.5858, allocations: 8 kB / 1.463 GB, free: 3.367 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.5858, allocations: 0 / 1.463 GB, free: 3.367 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.5858, allocations: 0 / 1.463 GB, free: 3.367 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002461/0.5882, allocations: 1.223 MB / 1.464 GB, free: 2.062 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.5882, allocations: 4 kB / 1.464 GB, free: 2.059 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004212/0.5887, allocations: 80.31 kB / 1.464 GB, free: 1.98 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.035e-05/0.5887, allocations: 8 kB / 1.464 GB, free: 1.973 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.869e-05/0.5887, allocations: 11.94 kB / 1.464 GB, free: 1.961 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.081e-05/0.5887, allocations: 11.92 kB / 1.464 GB, free: 1.949 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5887, allocations: 4 kB / 1.464 GB, free: 1.945 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001864/0.5906, allocations: 0.9281 MB / 1.465 GB, free: 0.957 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002628/0.5909, allocations: 83.61 kB / 1.465 GB, free: 0.875 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.515e-05/0.5909, allocations: 15.92 kB / 1.465 GB, free: 0.8594 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004292/0.5914, allocations: 31.97 kB / 1.465 GB, free: 0.8281 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.5915, allocations: 55.92 kB / 1.465 GB, free: 0.7734 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.585e-05/0.5915, allocations: 19.94 kB / 1.465 GB, free: 0.7539 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0003485/0.5919, allocations: 263.1 kB / 1.466 GB, free: 0.5039 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/0.5919, allocations: 0 / 1.466 GB, free: 0.5039 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0006793/0.5926, allocations: 163.7 kB / 1.466 GB, free: 352 kB / 1.154 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.0003563/0.5929, allocations: 179.1 kB / 1.466 GB, free: 164 kB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001425/0.5943, allocations: 0.6343 MB / 1.467 GB, free: 15.49 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.5943, allocations: 0 / 1.467 GB, free: 15.49 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.000681/0.595, allocations: 257.2 kB / 1.467 GB, free: 15.24 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.5962, allocations: 203.4 kB / 1.467 GB, free: 15.04 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002178/0.5984, allocations: 1.066 MB / 1.468 GB, free: 13.89 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.5987, allocations: 273.8 kB / 1.468 GB, free: 13.6 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001854/0.5989, allocations: 47.36 kB / 1.468 GB, free: 13.55 MB / 1.17 GB Notification: Performance of SimCode: time 6.91e-07/0.5989, allocations: 0 / 1.468 GB, free: 13.55 MB / 1.17 GB Notification: Performance of Templates: time 0.01469/0.6136, allocations: 8.256 MB / 1.476 GB, free: 5.375 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.947830141987652]