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.001269/0.001269, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001354/0.001354, allocations: 156 kB / 23.01 MB, free: 4.602 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.441/1.441, allocations: 177.2 MB / 203.4 MB, free: 8.949 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 2.939/2.939, allocations: 394.2 MB / 0.6386 GB, free: 12.01 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: 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.002227/0.002227, allocations: 71.88 kB / 1.009 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9154/0.9177, allocations: 181.8 MB / 1.187 GB, free: 16.25 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2246/1.142, allocations: 160.7 MB / 1.344 GB, free: 5.195 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.007349/1.15, allocations: 4.168 MB / 1.348 GB, free: 1.02 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007417/1.15, allocations: 27.75 kB / 1.348 GB, free: 0.9922 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.00082/1.151, allocations: 250.1 kB / 1.348 GB, free: 0.7461 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002188/1.153, allocations: 0.7659 MB / 1.349 GB, free: 15.98 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.004137/1.157, allocations: 1.541 MB / 1.35 GB, free: 14.43 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001836/1.159, allocations: 1.254 MB / 1.351 GB, free: 13.18 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006443/1.16, allocations: 365.9 kB / 1.352 GB, free: 12.81 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001799/1.162, allocations: 0.8331 MB / 1.352 GB, free: 11.97 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006034/1.162, allocations: 398.2 kB / 1.353 GB, free: 11.58 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 8.618e-05/1.162, allocations: 48 kB / 1.353 GB, free: 11.54 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002539/1.165, allocations: 1.246 MB / 1.354 GB, free: 10.29 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002437/1.165, allocations: 191.4 kB / 1.354 GB, free: 10.1 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.000321/1.166, allocations: 254.8 kB / 1.355 GB, free: 9.848 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002021/1.168, allocations: 1.25 MB / 1.356 GB, free: 8.598 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/1.168, allocations: 4 kB / 1.356 GB, free: 8.594 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.754e-06/1.168, allocations: 4 kB / 1.356 GB, free: 8.59 MB / 1.201 GB Notification: Performance of Transformations before backend: time 9.247e-06/1.168, allocations: 0 / 1.356 GB, free: 8.59 MB / 1.201 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.001792/1.169, allocations: 0.9643 MB / 1.357 GB, free: 7.578 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/1.169, allocations: 12.03 kB / 1.357 GB, free: 7.566 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002079/1.171, allocations: 291.2 kB / 1.357 GB, free: 7.281 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008667/1.172, allocations: 402.6 kB / 1.357 GB, free: 6.863 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.169e-05/1.172, allocations: 37 kB / 1.357 GB, free: 6.828 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.768e-05/1.172, allocations: 43.94 kB / 1.357 GB, free: 6.785 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/1.174, allocations: 0.5507 MB / 1.358 GB, free: 6.203 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/1.174, allocations: 0 / 1.358 GB, free: 6.203 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.58e-05/1.174, allocations: 20 kB / 1.358 GB, free: 6.184 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/1.174, allocations: 15.92 kB / 1.358 GB, free: 6.168 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/1.175, allocations: 455.5 kB / 1.358 GB, free: 5.719 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00251/1.177, allocations: 1.69 MB / 1.36 GB, free: 3.969 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/1.178, allocations: 390.4 kB / 1.361 GB, free: 3.578 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005034/1.179, allocations: 217.3 kB / 1.361 GB, free: 3.363 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005571/1.179, allocations: 87.91 kB / 1.361 GB, free: 3.277 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006551/1.18, allocations: 302.6 kB / 1.361 GB, free: 2.969 MB / 1.201 GB Notification: Performance of pre-optimization done (n=37): time 2.123e-06/1.18, allocations: 0 / 1.361 GB, free: 2.969 MB / 1.201 GB Notification: Performance of matching and sorting (n=37): time 0.001852/1.182, allocations: 0.6831 MB / 1.362 GB, free: 2.281 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/1.182, allocations: 55.41 kB / 1.362 GB, free: 2.215 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004772/1.182, allocations: 389.8 kB / 1.362 GB, free: 1.824 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.921e-05/1.182, allocations: 33.7 kB / 1.362 GB, free: 1.785 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002177/1.183, allocations: 276.5 kB / 1.362 GB, free: 1.512 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/1.183, allocations: 130.9 kB / 1.363 GB, free: 1.383 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/1.183, allocations: 98.14 kB / 1.363 GB, free: 1.281 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000188/1.183, allocations: 354.8 kB / 1.363 GB, free: 0.9258 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000545/1.184, allocations: 252.2 kB / 1.363 GB, free: 0.668 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000716/1.184, allocations: 495.9 kB / 1.364 GB, free: 104 kB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/1.185, allocations: 0.545 MB / 1.364 GB, free: 15.5 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/1.185, allocations: 4.062 kB / 1.364 GB, free: 15.5 MB / 1.217 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001478/1.187, allocations: 0.6989 MB / 1.365 GB, free: 14.77 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 7.088e-05/1.187, allocations: 61.12 kB / 1.365 GB, free: 14.7 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/1.187, allocations: 7.938 kB / 1.365 GB, free: 14.69 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/1.187, allocations: 7.938 kB / 1.365 GB, free: 14.68 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004997/1.188, allocations: 96.16 kB / 1.365 GB, free: 14.59 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.534e-05/1.188, allocations: 11.98 kB / 1.365 GB, free: 14.58 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005132/1.188, allocations: 71.67 kB / 1.365 GB, free: 14.51 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.836e-05/1.188, allocations: 20 kB / 1.365 GB, free: 14.49 MB / 1.217 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.0002969/1.188, allocations: 197.6 kB / 1.365 GB, free: 14.29 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.676e-05/1.189, allocations: 47.66 kB / 1.365 GB, free: 14.24 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001331/1.19, allocations: 0.5403 MB / 1.366 GB, free: 13.69 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/1.19, allocations: 4 kB / 1.366 GB, free: 13.68 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.19, allocations: 0 / 1.366 GB, free: 13.68 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/1.19, allocations: 7.984 kB / 1.366 GB, free: 13.68 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002263/1.192, allocations: 1.207 MB / 1.367 GB, free: 12.39 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/1.192, allocations: 8.094 kB / 1.367 GB, free: 12.38 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000411/1.193, allocations: 79.88 kB / 1.367 GB, free: 12.3 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/1.193, allocations: 4 kB / 1.367 GB, free: 12.3 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.739e-05/1.193, allocations: 15.94 kB / 1.367 GB, free: 12.29 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.293e-06/1.193, allocations: 7.984 kB / 1.367 GB, free: 12.28 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.899e-06/1.193, allocations: 11.94 kB / 1.367 GB, free: 12.27 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/1.194, allocations: 0.9251 MB / 1.368 GB, free: 11.28 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001813/1.195, allocations: 87.55 kB / 1.368 GB, free: 11.19 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.425e-05/1.195, allocations: 19.92 kB / 1.368 GB, free: 11.17 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004262/1.195, allocations: 36.03 kB / 1.368 GB, free: 11.14 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/1.195, allocations: 47.86 kB / 1.368 GB, free: 11.09 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.543e-05/1.195, allocations: 19.94 kB / 1.368 GB, free: 11.07 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0003335/1.196, allocations: 263.1 kB / 1.369 GB, free: 10.82 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/1.196, allocations: 3.938 kB / 1.369 GB, free: 10.81 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0005971/1.196, allocations: 155.8 kB / 1.369 GB, free: 10.66 MB / 1.217 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.0003504/1.197, allocations: 183 kB / 1.369 GB, free: 10.47 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001311/1.198, allocations: 0.6265 MB / 1.37 GB, free: 9.809 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/1.198, allocations: 0 / 1.37 GB, free: 9.809 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0006957/1.199, allocations: 276.8 kB / 1.37 GB, free: 9.539 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/1.2, allocations: 207.8 kB / 1.37 GB, free: 9.344 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/1.202, allocations: 1.037 MB / 1.371 GB, free: 8.234 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/1.202, allocations: 270 kB / 1.371 GB, free: 7.949 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0003735/1.202, allocations: 116.1 kB / 1.371 GB, free: 7.836 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/1.202, allocations: 40.5 kB / 1.371 GB, free: 7.797 MB / 1.217 GB Notification: Performance of SimCode: time 5.51e-07/1.202, allocations: 0 / 1.371 GB, free: 7.797 MB / 1.217 GB Notification: Performance of Templates: time 0.01756/1.22, allocations: 9.12 MB / 1.38 GB, free: 14.88 MB / 1.232 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 -s ida -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/jenkins1/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.621863538981415]