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.001826/0.001826, allocations: 96.2 kB / 19.71 MB, free: 2.121 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.002252/0.002252, allocations: 211.2 kB / 23 MB, free: 4.934 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.178/3.178, allocations: 0.49 GB / 0.7959 GB, free: 35.56 MB / 0.6231 GB " [Timeout remaining time 177] 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.001993/0.001993, allocations: 66.88 kB / 1.155 GB, free: 25.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4121/0.4141, allocations: 176.1 MB / 1.327 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2005/0.6146, allocations: 160.7 MB / 1.484 GB, free: 15.69 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006241/0.6208, allocations: 4.166 MB / 1.488 GB, free: 11.52 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005998/0.6214, allocations: 31.75 kB / 1.488 GB, free: 11.49 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.000736/0.6222, allocations: 250.1 kB / 1.488 GB, free: 11.24 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001963/0.6241, allocations: 0.7698 MB / 1.489 GB, free: 10.47 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003836/0.628, allocations: 1.554 MB / 1.491 GB, free: 8.914 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001882/0.6299, allocations: 1.262 MB / 1.492 GB, free: 7.648 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006645/0.6305, allocations: 365.6 kB / 1.492 GB, free: 7.281 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001909/0.6324, allocations: 0.8331 MB / 1.493 GB, free: 6.445 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006346/0.6331, allocations: 422.3 kB / 1.493 GB, free: 6.031 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 8.921e-05/0.6332, allocations: 48 kB / 1.493 GB, free: 5.984 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002784/0.6359, allocations: 1.266 MB / 1.495 GB, free: 4.715 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002631/0.6362, allocations: 195.4 kB / 1.495 GB, free: 4.523 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0003277/0.6365, allocations: 254.9 kB / 1.495 GB, free: 4.273 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002332/0.6389, allocations: 1.246 MB / 1.496 GB, free: 3.023 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.6389, allocations: 0 / 1.496 GB, free: 3.023 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.804e-06/0.6389, allocations: 0 / 1.496 GB, free: 3.023 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.48e-05/0.6389, allocations: 0 / 1.496 GB, free: 3.023 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.00198/0.6409, allocations: 0.9682 MB / 1.497 GB, free: 2.012 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.6409, allocations: 12.03 kB / 1.497 GB, free: 2 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002197/0.6431, allocations: 291.2 kB / 1.498 GB, free: 1.715 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008838/0.644, allocations: 402.6 kB / 1.498 GB, free: 1.293 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.686e-05/0.644, allocations: 33 kB / 1.498 GB, free: 1.262 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.6441, allocations: 43.94 kB / 1.498 GB, free: 1.219 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.6453, allocations: 0.5546 MB / 1.499 GB, free: 0.6328 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.6453, allocations: 0 / 1.499 GB, free: 0.6328 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.831e-05/0.6454, allocations: 16 kB / 1.499 GB, free: 0.6172 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.674e-05/0.6454, allocations: 15.94 kB / 1.499 GB, free: 0.6016 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.6465, allocations: 459.5 kB / 1.499 GB, free: 156 kB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002698/0.6492, allocations: 1.679 MB / 1.501 GB, free: 14.41 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.6503, allocations: 390.5 kB / 1.501 GB, free: 14.02 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005077/0.6508, allocations: 213.3 kB / 1.501 GB, free: 13.81 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006035/0.6514, allocations: 103.8 kB / 1.501 GB, free: 13.71 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006999/0.6521, allocations: 307 kB / 1.502 GB, free: 13.4 MB / 1.201 GB Notification: Performance of pre-optimization done (n=37): time 2.816e-06/0.6521, allocations: 0 / 1.502 GB, free: 13.4 MB / 1.201 GB Notification: Performance of matching and sorting (n=37): time 0.001986/0.6541, allocations: 0.6723 MB / 1.502 GB, free: 12.72 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.6541, allocations: 55.41 kB / 1.502 GB, free: 12.65 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000476/0.6546, allocations: 393.8 kB / 1.503 GB, free: 12.25 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.719e-05/0.6546, allocations: 41.64 kB / 1.503 GB, free: 12.21 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/0.6549, allocations: 276.4 kB / 1.503 GB, free: 11.93 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.655, allocations: 138.8 kB / 1.503 GB, free: 11.8 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/0.6552, allocations: 90.12 kB / 1.503 GB, free: 11.7 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001875/0.6554, allocations: 358.8 kB / 1.504 GB, free: 11.34 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000545/0.6559, allocations: 248.2 kB / 1.504 GB, free: 11.09 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008328/0.6568, allocations: 499.6 kB / 1.504 GB, free: 10.52 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.6579, allocations: 0.5493 MB / 1.505 GB, free: 9.914 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-06/0.6579, allocations: 4 kB / 1.505 GB, free: 9.91 MB / 1.201 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001457/0.6593, allocations: 0.6948 MB / 1.506 GB, free: 9.184 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 6.192e-05/0.6594, allocations: 59.78 kB / 1.506 GB, free: 9.113 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.6594, allocations: 8 kB / 1.506 GB, free: 9.105 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.6594, allocations: 4 kB / 1.506 GB, free: 9.102 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005027/0.6599, allocations: 99.81 kB / 1.506 GB, free: 9.004 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.6599, allocations: 7.984 kB / 1.506 GB, free: 8.996 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005328/0.6605, allocations: 63.73 kB / 1.506 GB, free: 8.934 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.537e-05/0.6605, allocations: 20 kB / 1.506 GB, free: 8.914 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.000315/0.6609, allocations: 194.6 kB / 1.506 GB, free: 8.715 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.289e-05/0.6609, allocations: 51.61 kB / 1.506 GB, free: 8.664 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/0.6623, allocations: 0.5298 MB / 1.507 GB, free: 8.125 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.6623, allocations: 4 kB / 1.507 GB, free: 8.121 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.6623, allocations: 3.984 kB / 1.507 GB, free: 8.117 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002263/0.6625, allocations: 79.61 kB / 1.507 GB, free: 8.039 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.619e-05/0.6626, allocations: 12.06 kB / 1.507 GB, free: 8.027 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003644/0.6629, allocations: 31.97 kB / 1.507 GB, free: 7.996 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.6631, allocations: 43.86 kB / 1.507 GB, free: 7.953 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001522/0.6646, allocations: 0.5742 MB / 1.507 GB, free: 7.371 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001803/0.6664, allocations: 0.9127 MB / 1.508 GB, free: 6.441 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004987/0.6669, allocations: 203.8 kB / 1.508 GB, free: 6.242 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0003356/0.6672, allocations: 263.1 kB / 1.509 GB, free: 5.988 MB / 1.201 GB Notification: Performance of Backend: time 6.21e-07/0.6672, allocations: 0 / 1.509 GB, free: 5.988 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002104/0.6693, allocations: 0.8318 MB / 1.509 GB, free: 5.113 MB / 1.201 GB Notification: Performance of SimCode: time 0.002205/0.6715, allocations: 1.413 MB / 1.511 GB, free: 3.652 MB / 1.201 GB Notification: Performance of Templates: time 0.02489/0.6964, allocations: 14.43 MB / 1.525 GB, free: 5.41 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/jenkins1/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: 9.465932179002266]