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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 115.5 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 194.2 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.986/2.986, allocations: 489.3 MB / 0.7687 GB, free: 3.824 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00211/0.002111, allocations: 67.89 kB / 1.103 GB, free: 0.7812 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.036/1.038, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2524/1.291, allocations: 181.8 MB / 1.44 GB, free: 15.51 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.007364/1.298, allocations: 4.462 MB / 1.444 GB, free: 11.89 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007794/1.299, allocations: 23.28 kB / 1.445 GB, free: 11.88 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0007917/1.3, allocations: 244.4 kB / 1.445 GB, free: 11.66 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002162/1.302, allocations: 0.7517 MB / 1.445 GB, free: 11.07 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004228/1.306, allocations: 1.518 MB / 1.447 GB, free: 9.953 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001961/1.308, allocations: 1.251 MB / 1.448 GB, free: 9.23 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009982/1.309, allocations: 446.4 kB / 1.449 GB, free: 8.953 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002205/1.311, allocations: 0.7912 MB / 1.449 GB, free: 8.477 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000925/1.312, allocations: 409.2 kB / 1.45 GB, free: 8.227 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001876/1.312, allocations: 45.47 kB / 1.45 GB, free: 8.227 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003594/1.316, allocations: 1.535 MB / 1.451 GB, free: 6.805 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003506/1.316, allocations: 175.5 kB / 1.451 GB, free: 6.633 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006652/1.317, allocations: 310.5 kB / 1.452 GB, free: 6.328 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003219/1.32, allocations: 1.311 MB / 1.453 GB, free: 5.016 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/1.32, allocations: 4 kB / 1.453 GB, free: 5.012 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.683e-06/1.32, allocations: 0 / 1.453 GB, free: 5.012 MB / 1.139 GB Notification: Performance of Transformations before backend: time 3.006e-05/1.32, allocations: 0 / 1.453 GB, free: 5.012 MB / 1.139 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.002343/1.323, allocations: 1.047 MB / 1.454 GB, free: 3.902 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/1.323, allocations: 8.031 kB / 1.454 GB, free: 3.895 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002159/1.325, allocations: 287.3 kB / 1.454 GB, free: 3.613 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009372/1.326, allocations: 469.8 kB / 1.455 GB, free: 3.117 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.936e-05/1.326, allocations: 37 kB / 1.455 GB, free: 3.078 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.148e-05/1.326, allocations: 40 kB / 1.455 GB, free: 3.039 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/1.327, allocations: 0.5468 MB / 1.455 GB, free: 2.457 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/1.327, allocations: 7.938 kB / 1.455 GB, free: 2.449 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.756e-05/1.327, allocations: 16 kB / 1.455 GB, free: 2.434 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/1.327, allocations: 11.94 kB / 1.455 GB, free: 2.422 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/1.328, allocations: 459.5 kB / 1.456 GB, free: 1.973 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003065/1.331, allocations: 2.12 MB / 1.458 GB, free: 15.72 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/1.333, allocations: 402.5 kB / 1.458 GB, free: 15.32 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000544/1.333, allocations: 232.6 kB / 1.459 GB, free: 15.09 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007424/1.334, allocations: 396.3 kB / 1.459 GB, free: 14.63 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006714/1.335, allocations: 302.8 kB / 1.459 GB, free: 14.32 MB / 1.154 GB Notification: Performance of pre-optimization done (n=37): time 2.525e-06/1.335, allocations: 0 / 1.459 GB, free: 14.32 MB / 1.154 GB Notification: Performance of matching and sorting (n=37): time 0.001969/1.337, allocations: 0.6789 MB / 1.46 GB, free: 13.64 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.165e-05/1.337, allocations: 63.39 kB / 1.46 GB, free: 13.56 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007021/1.337, allocations: 498 kB / 1.46 GB, free: 13.06 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 5.643e-05/1.337, allocations: 37.64 kB / 1.46 GB, free: 13.02 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002492/1.338, allocations: 268.4 kB / 1.461 GB, free: 12.75 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/1.338, allocations: 126.9 kB / 1.461 GB, free: 12.63 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/1.338, allocations: 102 kB / 1.461 GB, free: 12.52 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002098/1.338, allocations: 358.8 kB / 1.461 GB, free: 12.16 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005218/1.339, allocations: 196.8 kB / 1.461 GB, free: 11.97 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006175/1.339, allocations: 316.1 kB / 1.462 GB, free: 11.62 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/1.34, allocations: 0.5411 MB / 1.462 GB, free: 11.03 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/1.341, allocations: 0 / 1.462 GB, free: 11.03 MB / 1.154 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001436/1.342, allocations: 0.6484 MB / 1.463 GB, free: 10.36 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 6.486e-05/1.342, allocations: 65.59 kB / 1.463 GB, free: 10.29 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/1.342, allocations: 4.422 kB / 1.463 GB, free: 10.29 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/1.342, allocations: 16 kB / 1.463 GB, free: 10.27 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004588/1.343, allocations: 91.83 kB / 1.463 GB, free: 10.18 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.318e-05/1.343, allocations: 11.98 kB / 1.463 GB, free: 10.17 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005488/1.343, allocations: 79.52 kB / 1.463 GB, free: 10.09 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.025e-05/1.343, allocations: 20 kB / 1.463 GB, free: 10.07 MB / 1.154 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.0002718/1.343, allocations: 207.1 kB / 1.463 GB, free: 9.863 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/1.344, allocations: 55.62 kB / 1.463 GB, free: 9.809 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/1.345, allocations: 0.5292 MB / 1.464 GB, free: 9.27 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/1.345, allocations: 4 kB / 1.464 GB, free: 9.266 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.589e-05/1.345, allocations: 4 kB / 1.464 GB, free: 9.262 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/1.345, allocations: 7.984 kB / 1.464 GB, free: 9.254 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002564/1.348, allocations: 1.348 MB / 1.465 GB, free: 7.809 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/1.348, allocations: 7.938 kB / 1.465 GB, free: 7.801 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004188/1.348, allocations: 83.81 kB / 1.465 GB, free: 7.719 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/1.348, allocations: 4 kB / 1.465 GB, free: 7.715 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.924e-05/1.348, allocations: 12 kB / 1.465 GB, free: 7.703 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/1.348, allocations: 4 kB / 1.465 GB, free: 7.699 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.348, allocations: 4 kB / 1.465 GB, free: 7.695 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001895/1.35, allocations: 0.9379 MB / 1.466 GB, free: 6.695 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000245/1.35, allocations: 172.6 kB / 1.467 GB, free: 6.508 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/1.35, allocations: 19.98 kB / 1.467 GB, free: 6.488 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004571/1.351, allocations: 35.97 kB / 1.467 GB, free: 6.453 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/1.351, allocations: 51.94 kB / 1.467 GB, free: 6.402 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.562e-05/1.351, allocations: 19.94 kB / 1.467 GB, free: 6.383 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0004664/1.351, allocations: 338.8 kB / 1.467 GB, free: 6.055 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.7e-07/1.351, allocations: 0 / 1.467 GB, free: 6.055 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0006403/1.352, allocations: 155.9 kB / 1.467 GB, free: 5.902 MB / 1.154 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.0005328/1.353, allocations: 202.9 kB / 1.467 GB, free: 5.703 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001387/1.354, allocations: 0.5881 MB / 1.468 GB, free: 5.09 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.354, allocations: 0 / 1.468 GB, free: 5.09 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0006538/1.355, allocations: 263.6 kB / 1.468 GB, free: 4.832 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001411/1.356, allocations: 284.7 kB / 1.468 GB, free: 4.559 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/1.358, allocations: 1.093 MB / 1.469 GB, free: 3.387 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006056/1.359, allocations: 0.8665 MB / 1.47 GB, free: 2.492 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002019/1.359, allocations: 47.44 kB / 1.47 GB, free: 2.445 MB / 1.154 GB Notification: Performance of SimCode: time 7.92e-07/1.359, allocations: 0 / 1.47 GB, free: 2.445 MB / 1.154 GB Notification: Performance of Templates: time 0.01632/1.375, allocations: 9.077 MB / 1.479 GB, free: 9.453 MB / 1.17 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 13.156693344935775]