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.000779/0.000779, allocations: 76.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.0007797/0.0007797, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8971/0.8971, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.607/1.607, allocations: 359 MB / 0.6044 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 0.9517 GB, free: 2.961 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.418e-05/2.586e-05, allocations: 6.219 kB / 0.9518 GB, free: 2.953 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.6435/0.6436, allocations: 160.5 MB / 1.108 GB, free: 36.74 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.004529/0.6481, allocations: 4.149 MB / 1.113 GB, free: 35.35 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003289/0.6484, allocations: 28.22 kB / 1.113 GB, free: 35.33 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005909/0.649, allocations: 251.8 kB / 1.113 GB, free: 35.17 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001553/0.6506, allocations: 0.7854 MB / 1.114 GB, free: 34.84 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002915/0.6535, allocations: 1.621 MB / 1.115 GB, free: 34.11 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001145/0.6546, allocations: 1.261 MB / 1.116 GB, free: 33.52 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004826/0.6551, allocations: 359.2 kB / 1.117 GB, free: 33.36 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009107/0.656, allocations: 0.7519 MB / 1.117 GB, free: 33.04 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004119/0.6564, allocations: 365.8 kB / 1.118 GB, free: 32.92 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 6.369e-05/0.6565, allocations: 45.91 kB / 1.118 GB, free: 32.92 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001813/0.6583, allocations: 1.28 MB / 1.119 GB, free: 32.43 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001986/0.6585, allocations: 202.2 kB / 1.119 GB, free: 32.33 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002048/0.6587, allocations: 212.8 kB / 1.12 GB, free: 32.25 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001717/0.6604, allocations: 1.331 MB / 1.121 GB, free: 31.8 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.6604, allocations: 1.125 kB / 1.121 GB, free: 31.8 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.635e-06/0.6604, allocations: 0 / 1.121 GB, free: 31.8 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.6604, allocations: 0 / 1.121 GB, free: 31.8 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.00125/0.6617, allocations: 0.955 MB / 1.122 GB, free: 31.12 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.6617, allocations: 9.625 kB / 1.122 GB, free: 31.12 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/0.6629, allocations: 292.3 kB / 1.122 GB, free: 31.06 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005256/0.6634, allocations: 407.9 kB / 1.122 GB, free: 30.79 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.6634, allocations: 36.81 kB / 1.122 GB, free: 30.77 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.463e-05/0.6635, allocations: 41.48 kB / 1.122 GB, free: 30.76 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006967/0.6642, allocations: 0.5478 MB / 1.123 GB, free: 30.51 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.6642, allocations: 1.281 kB / 1.123 GB, free: 30.51 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.961e-05/0.6642, allocations: 16.61 kB / 1.123 GB, free: 30.5 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.6642, allocations: 10.81 kB / 1.123 GB, free: 30.5 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006519/0.6649, allocations: 458.1 kB / 1.123 GB, free: 30.36 MB / 0.9948 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.001512/0.6664, allocations: 1.695 MB / 1.125 GB, free: 29.16 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006682/0.6671, allocations: 389.8 kB / 1.126 GB, free: 29.04 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000317/0.6674, allocations: 214.4 kB / 1.126 GB, free: 28.97 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002988/0.6677, allocations: 89.81 kB / 1.126 GB, free: 28.96 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000464/0.6681, allocations: 293.1 kB / 1.126 GB, free: 28.86 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=37): time 1.523e-06/0.6681, allocations: 4 kB / 1.126 GB, free: 28.86 MB / 0.9948 GB Notification: Performance of matching and sorting (n=37): time 0.001196/0.6693, allocations: 0.6868 MB / 1.127 GB, free: 28.64 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.6694, allocations: 62.19 kB / 1.127 GB, free: 28.57 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003117/0.6697, allocations: 382.4 kB / 1.127 GB, free: 28.38 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/0.6697, allocations: 42.03 kB / 1.127 GB, free: 28.34 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.6698, allocations: 276.3 kB / 1.127 GB, free: 28.11 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 7.346e-05/0.6699, allocations: 129.3 kB / 1.128 GB, free: 28.01 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.67, allocations: 89.86 kB / 1.128 GB, free: 27.96 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 6.625e-05/0.6701, allocations: 360 kB / 1.128 GB, free: 27.63 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003306/0.6704, allocations: 254.2 kB / 1.128 GB, free: 27.51 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003919/0.6708, allocations: 0.4946 MB / 1.129 GB, free: 27.12 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006436/0.6715, allocations: 0.5409 MB / 1.129 GB, free: 26.82 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.6715, allocations: 5.094 kB / 1.129 GB, free: 26.82 MB / 0.9948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008343/0.6723, allocations: 0.7001 MB / 1.13 GB, free: 26.47 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.731e-05/0.6723, allocations: 63.73 kB / 1.13 GB, free: 26.41 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.6723, allocations: 3.469 kB / 1.13 GB, free: 26.41 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.6724, allocations: 9.719 kB / 1.13 GB, free: 26.41 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/0.6726, allocations: 94.27 kB / 1.13 GB, free: 26.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.6726, allocations: 12.86 kB / 1.13 GB, free: 26.39 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/0.6729, allocations: 72.52 kB / 1.13 GB, free: 26.36 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.94e-05/0.6729, allocations: 21.77 kB / 1.13 GB, free: 26.36 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.0001538/0.6731, allocations: 192.9 kB / 1.13 GB, free: 26.2 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.316e-05/0.6731, allocations: 47.09 kB / 1.13 GB, free: 26.18 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007625/0.6739, allocations: 0.5249 MB / 1.131 GB, free: 25.99 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.6739, allocations: 12.28 kB / 1.131 GB, free: 25.98 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.6739, allocations: 0 / 1.131 GB, free: 25.98 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.6739, allocations: 6.422 kB / 1.131 GB, free: 25.98 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001459/0.6753, allocations: 1.22 MB / 1.132 GB, free: 25.34 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.6753, allocations: 2.969 kB / 1.132 GB, free: 25.34 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000213/0.6756, allocations: 76.56 kB / 1.132 GB, free: 25.33 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.6756, allocations: 5.75 kB / 1.132 GB, free: 25.33 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.432e-05/0.6756, allocations: 16.39 kB / 1.132 GB, free: 25.32 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.496e-06/0.6756, allocations: 12.58 kB / 1.132 GB, free: 25.32 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.6756, allocations: 8.328 kB / 1.132 GB, free: 25.32 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.6767, allocations: 0.9301 MB / 1.133 GB, free: 24.83 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.6768, allocations: 87.98 kB / 1.133 GB, free: 24.79 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.226e-05/0.6769, allocations: 12.22 kB / 1.133 GB, free: 24.78 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.6771, allocations: 39.22 kB / 1.133 GB, free: 24.77 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.6772, allocations: 50.09 kB / 1.133 GB, free: 24.76 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.357e-05/0.6772, allocations: 21.28 kB / 1.133 GB, free: 24.75 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002072/0.6774, allocations: 263.5 kB / 1.134 GB, free: 24.62 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.6774, allocations: 0 / 1.134 GB, free: 24.62 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004028/0.6778, allocations: 160.8 kB / 1.134 GB, free: 24.59 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.00028/0.6781, allocations: 181.2 kB / 1.134 GB, free: 24.47 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0007519/0.6788, allocations: 0.6248 MB / 1.135 GB, free: 24.15 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.6788, allocations: 1.062 kB / 1.135 GB, free: 24.15 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003918/0.6792, allocations: 253.5 kB / 1.135 GB, free: 24.08 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006712/0.6799, allocations: 207.4 kB / 1.135 GB, free: 24.02 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.6811, allocations: 1.02 MB / 1.136 GB, free: 23.36 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.6814, allocations: 267.9 kB / 1.136 GB, free: 23.26 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.6815, allocations: 42.12 kB / 1.136 GB, free: 23.25 MB / 0.9948 GB Notification: Performance of SimCode: time 8.22e-07/0.6815, allocations: 0 / 1.136 GB, free: 23.25 MB / 0.9948 GB Notification: Performance of Templates: time 0.0101/0.6916, allocations: 8.256 MB / 1.144 GB, free: 22.41 MB / 0.9948 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/jenkins/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: 7.760561334900558]