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.001817/0.001817, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 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.002237/0.002237, allocations: 157.7 kB / 22.76 MB, free: 1.676 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.504/1.504, allocations: 177.1 MB / 203.1 MB, free: 5.188 MB / 186.7 MB " [Timeout remaining time 178] 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 3.37/3.37, allocations: 429.6 MB / 0.673 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 176] 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.1..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.1..m_flow|senRelTem.T_rel",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.8776 GB, free: 6.449 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.142e-05/3.319e-05, allocations: 5.406 kB / 0.8776 GB, free: 6.445 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2286/0.2286, allocations: 160.5 MB / 1.034 GB, free: 5.371 MB / 0.9949 GB Notification: Performance of NFInst.instExpressions: time 0.0079/0.2365, allocations: 4.116 MB / 1.038 GB, free: 1.242 MB / 0.9949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006938/0.2372, allocations: 27.75 kB / 1.038 GB, free: 1.215 MB / 0.9949 GB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.2383, allocations: 262 kB / 1.039 GB, free: 0.957 MB / 0.9949 GB Notification: Performance of NFTyping.typeBindings: time 0.00306/0.2413, allocations: 0.7769 MB / 1.039 GB, free: 180 kB / 0.9949 GB Notification: Performance of NFTyping.typeClassSections: time 0.005985/0.2473, allocations: 1.599 MB / 1.041 GB, free: 14.57 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002411/0.2497, allocations: 1.226 MB / 1.042 GB, free: 13.34 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008174/0.2505, allocations: 341.6 kB / 1.043 GB, free: 13 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002617/0.2531, allocations: 0.9736 MB / 1.043 GB, free: 12.03 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008385/0.254, allocations: 346.9 kB / 1.044 GB, free: 11.69 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001719/0.2542, allocations: 48 kB / 1.044 GB, free: 11.64 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002944/0.2571, allocations: 1.265 MB / 1.045 GB, free: 10.37 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003623/0.2575, allocations: 195.3 kB / 1.045 GB, free: 10.18 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0004651/0.2579, allocations: 215.4 kB / 1.045 GB, free: 9.969 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002986/0.2609, allocations: 1.328 MB / 1.047 GB, free: 8.637 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2609, allocations: 0 / 1.047 GB, free: 8.637 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2609, allocations: 4 kB / 1.047 GB, free: 8.633 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.089e-05/0.2609, allocations: 0 / 1.047 GB, free: 8.633 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.002236/0.2632, allocations: 0.9487 MB / 1.048 GB, free: 7.637 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.2632, allocations: 8.031 kB / 1.048 GB, free: 7.629 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002335/0.2655, allocations: 386.5 kB / 1.048 GB, free: 7.25 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009439/0.2665, allocations: 414.6 kB / 1.048 GB, free: 6.82 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.138e-05/0.2665, allocations: 33 kB / 1.049 GB, free: 6.789 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002257/0.2668, allocations: 43.98 kB / 1.049 GB, free: 6.746 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.268, allocations: 0.5468 MB / 1.049 GB, free: 6.168 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.268, allocations: 0 / 1.049 GB, free: 6.168 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.084e-05/0.2681, allocations: 16 kB / 1.049 GB, free: 6.152 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.2681, allocations: 8 kB / 1.049 GB, free: 6.145 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.2693, allocations: 463.5 kB / 1.05 GB, free: 5.688 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.002949/0.2722, allocations: 1.721 MB / 1.051 GB, free: 3.906 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.2733, allocations: 386.4 kB / 1.052 GB, free: 3.52 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005285/0.2738, allocations: 213.3 kB / 1.052 GB, free: 3.309 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005885/0.2744, allocations: 95.91 kB / 1.052 GB, free: 3.215 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007163/0.2751, allocations: 291 kB / 1.052 GB, free: 2.918 MB / 1.01 GB Notification: Performance of pre-optimization done (n=37): time 2.204e-06/0.2751, allocations: 0 / 1.052 GB, free: 2.918 MB / 1.01 GB Notification: Performance of matching and sorting (n=37): time 0.002055/0.2772, allocations: 0.7049 MB / 1.053 GB, free: 2.207 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/0.2773, allocations: 55.41 kB / 1.053 GB, free: 2.141 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005403/0.2778, allocations: 381.9 kB / 1.053 GB, free: 1.758 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.285e-05/0.2779, allocations: 33.7 kB / 1.053 GB, free: 1.719 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002734/0.2781, allocations: 276.4 kB / 1.054 GB, free: 1.441 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/0.2783, allocations: 130.9 kB / 1.054 GB, free: 1.312 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001864/0.2785, allocations: 90.14 kB / 1.054 GB, free: 1.219 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002195/0.2787, allocations: 358.8 kB / 1.054 GB, free: 0.8594 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005831/0.2793, allocations: 256.2 kB / 1.054 GB, free: 0.5938 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007879/0.2801, allocations: 495.9 kB / 1.055 GB, free: 32 kB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4742/0.7543, allocations: 0.5448 MB / 1.055 GB, free: 221.6 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.7543, allocations: 2.844 kB / 1.055 GB, free: 221.6 MB / 1.01 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001403/0.7557, allocations: 0.7118 MB / 1.056 GB, free: 221.5 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 4.57e-05/0.7557, allocations: 62.16 kB / 1.056 GB, free: 221.4 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.7557, allocations: 9.797 kB / 1.056 GB, free: 221.4 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.185e-05/0.7558, allocations: 7.25 kB / 1.056 GB, free: 221.4 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004677/0.7562, allocations: 96.59 kB / 1.056 GB, free: 221.4 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.7563, allocations: 7.125 kB / 1.056 GB, free: 221.4 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005189/0.7568, allocations: 64.77 kB / 1.056 GB, free: 221.4 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.376e-05/0.7568, allocations: 25.72 kB / 1.056 GB, free: 221.4 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.0002344/0.7571, allocations: 191.9 kB / 1.057 GB, free: 221.3 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.151e-05/0.7572, allocations: 55.67 kB / 1.057 GB, free: 221.3 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.7583, allocations: 0.5301 MB / 1.057 GB, free: 221.2 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.7583, allocations: 6.031 kB / 1.057 GB, free: 221.2 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.7583, allocations: 0 / 1.057 GB, free: 221.2 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.7583, allocations: 7.734 kB / 1.057 GB, free: 221.2 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001998/0.7603, allocations: 1.232 MB / 1.058 GB, free: 220.7 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.7603, allocations: 5.781 kB / 1.058 GB, free: 220.7 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003882/0.7607, allocations: 70.56 kB / 1.058 GB, free: 220.7 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.7607, allocations: 5.594 kB / 1.058 GB, free: 220.7 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.916e-05/0.7608, allocations: 15.83 kB / 1.058 GB, free: 220.7 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.7608, allocations: 2.938 kB / 1.058 GB, free: 220.7 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.7608, allocations: 10.41 kB / 1.058 GB, free: 220.7 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/0.7624, allocations: 0.9394 MB / 1.059 GB, free: 220.3 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000179/0.7625, allocations: 88.55 kB / 1.059 GB, free: 220.2 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.921e-05/0.7626, allocations: 9.594 kB / 1.059 GB, free: 220.2 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004333/0.763, allocations: 34.72 kB / 1.059 GB, free: 220.2 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.7632, allocations: 54.31 kB / 1.06 GB, free: 220.2 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.473e-05/0.7632, allocations: 18.91 kB / 1.06 GB, free: 220.2 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002757/0.7635, allocations: 258.8 kB / 1.06 GB, free: 220.1 MB / 1.01 GB Notification: Performance of sort global known variables: time 1e-07/0.7635, allocations: 3.562 kB / 1.06 GB, free: 220.1 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006587/0.7641, allocations: 159.1 kB / 1.06 GB, free: 220 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.0003425/0.7645, allocations: 185.2 kB / 1.06 GB, free: 219.9 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.00113/0.7656, allocations: 0.6254 MB / 1.061 GB, free: 219.6 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.7656, allocations: 0 / 1.061 GB, free: 219.6 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0006055/0.7662, allocations: 270.7 kB / 1.061 GB, free: 219.6 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.7673, allocations: 204.3 kB / 1.061 GB, free: 219.5 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.769, allocations: 0.9807 MB / 1.062 GB, free: 218.9 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.7692, allocations: 266.9 kB / 1.062 GB, free: 218.9 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003782/0.7696, allocations: 107 kB / 1.062 GB, free: 218.8 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.7697, allocations: 45.12 kB / 1.063 GB, free: 218.8 MB / 1.01 GB Notification: Performance of SimCode: time 8.01e-07/0.7697, allocations: 0 / 1.063 GB, free: 218.8 MB / 1.01 GB Notification: Performance of Templates: time 0.01636/0.7861, allocations: 9.04 MB / 1.071 GB, free: 218 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.54329557903111]