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.001444/0.001444, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001663/0.001663, allocations: 163.7 kB / 22.46 MB, free: 5.359 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.481/1.481, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 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.039/3.039, allocations: 389 MB / 0.633 GB, free: 0.9922 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.863e-06/1.863e-06, allocations: 0 / 1 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.469e-05/3.655e-05, allocations: 14.02 kB / 1 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.86/0.86, allocations: 160.5 MB / 1.157 GB, free: 45.09 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.005128/0.8651, allocations: 4.115 MB / 1.161 GB, free: 45.03 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004927/0.8656, allocations: 27.22 kB / 1.161 GB, free: 45.03 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006532/0.8663, allocations: 257.5 kB / 1.161 GB, free: 45.03 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001768/0.868, allocations: 0.7749 MB / 1.162 GB, free: 44.99 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003473/0.8715, allocations: 1.604 MB / 1.164 GB, free: 44.93 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001326/0.8728, allocations: 1.224 MB / 1.165 GB, free: 44.79 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004473/0.8733, allocations: 329.6 kB / 1.165 GB, free: 44.76 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001506/0.8748, allocations: 0.9737 MB / 1.166 GB, free: 44.67 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004309/0.8752, allocations: 349.5 kB / 1.166 GB, free: 44.63 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.699e-05/0.8753, allocations: 46.81 kB / 1.166 GB, free: 44.63 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001954/0.8773, allocations: 1.27 MB / 1.168 GB, free: 44.49 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001728/0.8774, allocations: 191.8 kB / 1.168 GB, free: 44.46 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002233/0.8777, allocations: 216.2 kB / 1.168 GB, free: 44.44 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00161/0.8793, allocations: 1.326 MB / 1.169 GB, free: 44.32 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.8793, allocations: 0 / 1.169 GB, free: 44.32 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.012e-06/0.8793, allocations: 2.625 kB / 1.169 GB, free: 44.32 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.8793, allocations: 0 / 1.169 GB, free: 44.32 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.001506/0.8808, allocations: 0.9529 MB / 1.17 GB, free: 43.73 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.8808, allocations: 9.812 kB / 1.17 GB, free: 43.73 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002018/0.8828, allocations: 283.8 kB / 1.17 GB, free: 43.7 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006963/0.8835, allocations: 399.5 kB / 1.171 GB, free: 43.51 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.781e-05/0.8836, allocations: 35.41 kB / 1.171 GB, free: 43.5 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.35e-05/0.8837, allocations: 42.16 kB / 1.171 GB, free: 43.5 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009177/0.8846, allocations: 0.5464 MB / 1.171 GB, free: 43.39 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.8846, allocations: 3.094 kB / 1.171 GB, free: 43.39 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.488e-05/0.8846, allocations: 19.06 kB / 1.171 GB, free: 43.39 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.8846, allocations: 11.62 kB / 1.172 GB, free: 43.39 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009706/0.8856, allocations: 459 kB / 1.172 GB, free: 43.39 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001949/0.8876, allocations: 1.693 MB / 1.174 GB, free: 42.44 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008917/0.8885, allocations: 385.4 kB / 1.174 GB, free: 42.42 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004549/0.8889, allocations: 218.4 kB / 1.174 GB, free: 42.41 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005095/0.8894, allocations: 97.03 kB / 1.174 GB, free: 42.41 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005561/0.89, allocations: 286.7 kB / 1.175 GB, free: 42.36 MB / 1.076 GB Notification: Performance of pre-optimization done (n=37): time 1.924e-06/0.89, allocations: 0 / 1.175 GB, free: 42.36 MB / 1.076 GB Notification: Performance of matching and sorting (n=37): time 0.002049/0.892, allocations: 0.6803 MB / 1.175 GB, free: 42.3 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.8921, allocations: 60.52 kB / 1.175 GB, free: 42.24 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005644/0.8926, allocations: 377.8 kB / 1.176 GB, free: 42.11 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.748e-05/0.8927, allocations: 36.67 kB / 1.176 GB, free: 42.08 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.8929, allocations: 272 kB / 1.176 GB, free: 41.93 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.893, allocations: 132.3 kB / 1.176 GB, free: 41.84 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.8931, allocations: 89.09 kB / 1.176 GB, free: 41.83 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.971e-05/0.8932, allocations: 357.9 kB / 1.176 GB, free: 41.51 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005304/0.8938, allocations: 252.1 kB / 1.177 GB, free: 41.45 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006329/0.8944, allocations: 0.4891 MB / 1.177 GB, free: 41.12 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.8955, allocations: 0.5403 MB / 1.178 GB, free: 40.96 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.8955, allocations: 2.188 kB / 1.178 GB, free: 40.96 MB / 1.076 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001382/0.8969, allocations: 0.7019 MB / 1.178 GB, free: 40.77 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.507e-05/0.8969, allocations: 62.97 kB / 1.178 GB, free: 40.7 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.8969, allocations: 5.516 kB / 1.178 GB, free: 40.7 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.8969, allocations: 5.344 kB / 1.178 GB, free: 40.7 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000451/0.8974, allocations: 97.48 kB / 1.179 GB, free: 40.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.8974, allocations: 4.812 kB / 1.179 GB, free: 40.7 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000456/0.8979, allocations: 72.66 kB / 1.179 GB, free: 40.68 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.173e-05/0.8979, allocations: 24.28 kB / 1.179 GB, free: 40.68 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.0002006/0.8981, allocations: 191.9 kB / 1.179 GB, free: 40.56 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.378e-05/0.8982, allocations: 44.91 kB / 1.179 GB, free: 40.54 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/0.8993, allocations: 0.5347 MB / 1.179 GB, free: 40.49 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.8994, allocations: 4 kB / 1.179 GB, free: 40.49 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.8994, allocations: 1.281 kB / 1.179 GB, free: 40.49 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.8994, allocations: 0.875 kB / 1.179 GB, free: 40.49 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002108/0.9015, allocations: 1.223 MB / 1.181 GB, free: 40.12 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.9015, allocations: 3.844 kB / 1.181 GB, free: 40.12 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004131/0.9019, allocations: 77.14 kB / 1.181 GB, free: 40.12 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.9019, allocations: 5.375 kB / 1.181 GB, free: 40.12 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.624e-05/0.9019, allocations: 18.5 kB / 1.181 GB, free: 40.12 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.9019, allocations: 4.75 kB / 1.181 GB, free: 40.12 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.9019, allocations: 6.781 kB / 1.181 GB, free: 40.12 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/0.9037, allocations: 0.9223 MB / 1.182 GB, free: 39.84 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001696/0.9038, allocations: 90.36 kB / 1.182 GB, free: 39.81 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.562e-05/0.9039, allocations: 17.08 kB / 1.182 GB, free: 39.81 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004188/0.9043, allocations: 35.78 kB / 1.182 GB, free: 39.81 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.9044, allocations: 51.02 kB / 1.182 GB, free: 39.8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.525e-05/0.9045, allocations: 17.25 kB / 1.182 GB, free: 39.8 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002779/0.9048, allocations: 256.5 kB / 1.182 GB, free: 39.72 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.9048, allocations: 0 / 1.182 GB, free: 39.72 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006121/0.9054, allocations: 163 kB / 1.182 GB, free: 39.7 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.0003176/0.9057, allocations: 188.1 kB / 1.182 GB, free: 39.61 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001205/0.9069, allocations: 0.6304 MB / 1.183 GB, free: 39.4 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.9069, allocations: 1.688 kB / 1.183 GB, free: 39.4 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006648/0.9076, allocations: 273.2 kB / 1.183 GB, free: 39.4 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.9086, allocations: 192.4 kB / 1.183 GB, free: 39.39 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/0.9103, allocations: 0.9666 MB / 1.184 GB, free: 38.9 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.9106, allocations: 263.4 kB / 1.185 GB, free: 38.81 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004085/0.911, allocations: 111.7 kB / 1.185 GB, free: 38.8 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/0.9111, allocations: 42.55 kB / 1.185 GB, free: 38.79 MB / 1.076 GB Notification: Performance of SimCode: time 6.51e-07/0.9111, allocations: 0 / 1.185 GB, free: 38.79 MB / 1.076 GB Notification: Performance of Templates: time 0.0188/0.9299, allocations: 8.79 MB / 1.193 GB, free: 37.95 MB / 1.076 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.612666875123978]