Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001789/0.001789, allocations: 103.6 kB / 18.95 MB, free: 2.691 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.002371/0.002371, allocations: 218.8 kB / 22.25 MB, free: 4.723 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.563/1.563, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.467/3.467, allocations: 0.4892 GB / 0.7943 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.00375/0.00375, allocations: 71.02 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4521/0.4559, allocations: 176.1 MB / 1.326 GB, free: 1.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2242/0.68, allocations: 160.7 MB / 1.482 GB, free: 0.7031 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.007408/0.6875, allocations: 4.16 MB / 1.487 GB, free: 12.54 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007209/0.6882, allocations: 31.69 kB / 1.487 GB, free: 12.5 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0008174/0.689, allocations: 254.1 kB / 1.487 GB, free: 12.25 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002024/0.691, allocations: 0.7621 MB / 1.488 GB, free: 11.49 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004237/0.6952, allocations: 1.546 MB / 1.489 GB, free: 9.941 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.00197/0.6972, allocations: 1.258 MB / 1.49 GB, free: 8.68 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006638/0.6979, allocations: 357.6 kB / 1.491 GB, free: 8.32 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001941/0.6998, allocations: 0.8369 MB / 1.491 GB, free: 7.48 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006155/0.7004, allocations: 394.3 kB / 1.492 GB, free: 7.094 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 8.77e-05/0.7005, allocations: 48 kB / 1.492 GB, free: 7.047 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00258/0.7031, allocations: 1.25 MB / 1.493 GB, free: 5.793 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002457/0.7034, allocations: 195.3 kB / 1.493 GB, free: 5.602 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0003509/0.7037, allocations: 254.9 kB / 1.493 GB, free: 5.352 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002228/0.7059, allocations: 1.254 MB / 1.495 GB, free: 4.094 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.7059, allocations: 0 / 1.495 GB, free: 4.094 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.432e-06/0.7059, allocations: 0 / 1.495 GB, free: 4.094 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.406e-05/0.706, allocations: 4 kB / 1.495 GB, free: 4.09 MB / 1.186 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.001823/0.7078, allocations: 0.9605 MB / 1.496 GB, free: 3.086 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.7078, allocations: 19.95 kB / 1.496 GB, free: 3.066 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002/0.7098, allocations: 295.2 kB / 1.496 GB, free: 2.777 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009076/0.7107, allocations: 394.7 kB / 1.496 GB, free: 2.367 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.511e-05/0.7108, allocations: 33 kB / 1.496 GB, free: 2.336 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.7109, allocations: 47.98 kB / 1.496 GB, free: 2.289 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.712, allocations: 0.5429 MB / 1.497 GB, free: 1.711 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.712, allocations: 7.938 kB / 1.497 GB, free: 1.703 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.52e-05/0.712, allocations: 20 kB / 1.497 GB, free: 1.684 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.7121, allocations: 15.94 kB / 1.497 GB, free: 1.668 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.7132, allocations: 455.5 kB / 1.497 GB, free: 1.223 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002702/0.7159, allocations: 1.69 MB / 1.499 GB, free: 15.47 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.7169, allocations: 382.5 kB / 1.499 GB, free: 15.09 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005659/0.7175, allocations: 213.3 kB / 1.5 GB, free: 14.88 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005697/0.7181, allocations: 91.91 kB / 1.5 GB, free: 14.79 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006846/0.7188, allocations: 314.9 kB / 1.5 GB, free: 14.47 MB / 1.201 GB Notification: Performance of pre-optimization done (n=37): time 2.424e-06/0.7188, allocations: 0 / 1.5 GB, free: 14.47 MB / 1.201 GB Notification: Performance of matching and sorting (n=37): time 0.001976/0.7207, allocations: 0.6762 MB / 1.501 GB, free: 13.79 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.7208, allocations: 59.41 kB / 1.501 GB, free: 13.71 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005146/0.7213, allocations: 381.9 kB / 1.501 GB, free: 13.33 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.71e-05/0.7214, allocations: 33.7 kB / 1.501 GB, free: 13.29 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002484/0.7216, allocations: 280.4 kB / 1.501 GB, free: 13.02 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.7217, allocations: 134.8 kB / 1.502 GB, free: 12.88 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001744/0.7219, allocations: 94.12 kB / 1.502 GB, free: 12.78 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.7221, allocations: 354.8 kB / 1.502 GB, free: 12.43 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00059/0.7227, allocations: 248.2 kB / 1.502 GB, free: 12.17 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007848/0.7235, allocations: 0.4957 MB / 1.503 GB, free: 11.59 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.7246, allocations: 0.5493 MB / 1.503 GB, free: 10.99 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.7246, allocations: 0 / 1.503 GB, free: 10.99 MB / 1.201 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001436/0.7261, allocations: 0.7027 MB / 1.504 GB, free: 10.26 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 6.069e-05/0.7261, allocations: 59.41 kB / 1.504 GB, free: 10.19 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.7261, allocations: 0 / 1.504 GB, free: 10.19 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.756e-05/0.7261, allocations: 11.98 kB / 1.504 GB, free: 10.18 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004744/0.7266, allocations: 92.14 kB / 1.504 GB, free: 10.09 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.694e-05/0.7266, allocations: 19.97 kB / 1.504 GB, free: 10.07 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005133/0.7272, allocations: 63.73 kB / 1.504 GB, free: 10 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-05/0.7272, allocations: 20 kB / 1.504 GB, free: 9.984 MB / 1.201 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.0002705/0.7275, allocations: 185.7 kB / 1.504 GB, free: 9.793 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.985e-05/0.7276, allocations: 59.55 kB / 1.504 GB, free: 9.734 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001314/0.7289, allocations: 0.5299 MB / 1.505 GB, free: 9.195 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.964e-06/0.7289, allocations: 7.938 kB / 1.505 GB, free: 9.188 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.7289, allocations: 64 / 1.505 GB, free: 9.188 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.457e-06/0.7289, allocations: 7.984 kB / 1.505 GB, free: 9.18 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002432/0.7313, allocations: 1.222 MB / 1.506 GB, free: 7.879 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.952e-06/0.7313, allocations: 8.031 kB / 1.506 GB, free: 7.871 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004213/0.7318, allocations: 67.89 kB / 1.506 GB, free: 7.805 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/0.7318, allocations: 4 kB / 1.506 GB, free: 7.801 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.168e-05/0.7318, allocations: 23.92 kB / 1.506 GB, free: 7.777 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.682e-06/0.7318, allocations: 7.938 kB / 1.506 GB, free: 7.77 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.7318, allocations: 4 kB / 1.506 GB, free: 7.766 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001907/0.7337, allocations: 0.9214 MB / 1.507 GB, free: 6.781 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002398/0.734, allocations: 91.53 kB / 1.507 GB, free: 6.691 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.73e-05/0.7341, allocations: 15.94 kB / 1.507 GB, free: 6.676 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004373/0.7345, allocations: 40.02 kB / 1.507 GB, free: 6.637 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.7346, allocations: 47.88 kB / 1.507 GB, free: 6.59 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-05/0.7347, allocations: 15.94 kB / 1.507 GB, free: 6.574 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0003652/0.735, allocations: 267.1 kB / 1.508 GB, free: 6.312 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.01e-07/0.735, allocations: 0 / 1.508 GB, free: 6.312 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0006257/0.7356, allocations: 163.7 kB / 1.508 GB, free: 6.152 MB / 1.201 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.0003343/0.736, allocations: 179 kB / 1.508 GB, free: 5.969 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001392/0.7374, allocations: 0.6225 MB / 1.509 GB, free: 5.309 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.7374, allocations: 0 / 1.509 GB, free: 5.309 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0007099/0.7381, allocations: 268.8 kB / 1.509 GB, free: 5.047 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.7392, allocations: 208.2 kB / 1.509 GB, free: 4.852 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/0.7413, allocations: 1.049 MB / 1.51 GB, free: 3.73 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.7416, allocations: 266 kB / 1.51 GB, free: 3.445 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0004288/0.742, allocations: 112.1 kB / 1.51 GB, free: 3.336 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/0.7422, allocations: 35.44 kB / 1.51 GB, free: 3.301 MB / 1.201 GB Notification: Performance of SimCode: time 7.12e-07/0.7422, allocations: 4 kB / 1.51 GB, free: 3.297 MB / 1.201 GB Notification: Performance of Templates: time 0.01914/0.7613, allocations: 9.892 MB / 1.52 GB, free: 9.625 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.383571458980441]