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.001267/0.001267, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001373/0.001373, allocations: 218.2 kB / 23.01 MB, free: 4.605 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.326/1.326, allocations: 230.6 MB / 256.8 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 179] 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 2.891/2.891, allocations: 0.49 GB / 0.7958 GB, free: 33.5 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.00186/0.00186, allocations: 72.28 kB / 1.155 GB, free: 25.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2903, allocations: 176.1 MB / 1.327 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1997/0.49, allocations: 185.6 MB / 1.508 GB, free: 7.125 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.006023/0.496, allocations: 4.507 MB / 1.513 GB, free: 2.613 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00036/0.4964, allocations: 35.75 kB / 1.513 GB, free: 2.578 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0006119/0.497, allocations: 242.1 kB / 1.513 GB, free: 2.34 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001669/0.4987, allocations: 0.8009 MB / 1.514 GB, free: 1.535 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003185/0.5018, allocations: 1.601 MB / 1.515 GB, free: 15.93 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001434/0.5033, allocations: 1.266 MB / 1.517 GB, free: 14.66 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005172/0.5038, allocations: 357.6 kB / 1.517 GB, free: 14.3 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001401/0.5052, allocations: 0.8369 MB / 1.518 GB, free: 13.46 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005276/0.5057, allocations: 418.3 kB / 1.518 GB, free: 13.05 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 6.998e-05/0.5058, allocations: 44 kB / 1.518 GB, free: 13.01 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002468/0.5083, allocations: 1.672 MB / 1.52 GB, free: 11.34 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0002093/0.5085, allocations: 195.4 kB / 1.52 GB, free: 11.14 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0003056/0.5088, allocations: 306.5 kB / 1.52 GB, free: 10.84 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001734/0.5105, allocations: 1.304 MB / 1.522 GB, free: 9.535 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.5105, allocations: 0 / 1.522 GB, free: 9.535 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5105, allocations: 0 / 1.522 GB, free: 9.535 MB / 1.217 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.5105, allocations: 0 / 1.522 GB, free: 9.535 MB / 1.217 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.001611/0.5121, allocations: 0.9657 MB / 1.523 GB, free: 8.527 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.5122, allocations: 12.03 kB / 1.523 GB, free: 8.516 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001846/0.514, allocations: 287.2 kB / 1.523 GB, free: 8.234 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007561/0.5148, allocations: 414.5 kB / 1.523 GB, free: 7.801 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.471e-05/0.5148, allocations: 36.94 kB / 1.523 GB, free: 7.766 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.535e-05/0.5149, allocations: 44 kB / 1.523 GB, free: 7.723 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009726/0.5159, allocations: 0.5507 MB / 1.524 GB, free: 7.141 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.5159, allocations: 0 / 1.524 GB, free: 7.141 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.046e-05/0.5159, allocations: 16 kB / 1.524 GB, free: 7.125 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.5159, allocations: 15.94 kB / 1.524 GB, free: 7.109 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000985/0.5169, allocations: 455.5 kB / 1.524 GB, free: 6.664 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002489/0.5194, allocations: 2.07 MB / 1.526 GB, free: 4.473 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009238/0.5203, allocations: 394.3 kB / 1.527 GB, free: 4.078 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004665/0.5208, allocations: 221.2 kB / 1.527 GB, free: 3.859 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005092/0.5213, allocations: 95.88 kB / 1.527 GB, free: 3.766 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006127/0.5219, allocations: 307.1 kB / 1.527 GB, free: 3.453 MB / 1.217 GB Notification: Performance of pre-optimization done (n=37): time 1.643e-06/0.5219, allocations: 0 / 1.527 GB, free: 3.453 MB / 1.217 GB Notification: Performance of matching and sorting (n=37): time 0.001693/0.5236, allocations: 0.6878 MB / 1.528 GB, free: 2.758 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.5237, allocations: 63.34 kB / 1.528 GB, free: 2.684 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005693/0.5242, allocations: 494.1 kB / 1.529 GB, free: 2.188 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.451e-05/0.5243, allocations: 37.7 kB / 1.529 GB, free: 2.145 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/0.5245, allocations: 260.5 kB / 1.529 GB, free: 1.887 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.5246, allocations: 130.9 kB / 1.529 GB, free: 1.758 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.5247, allocations: 94.08 kB / 1.529 GB, free: 1.66 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.5249, allocations: 366.8 kB / 1.529 GB, free: 1.293 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000462/0.5254, allocations: 196.7 kB / 1.53 GB, free: 1.098 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005723/0.5259, allocations: 323.4 kB / 1.53 GB, free: 0.7422 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009781/0.5269, allocations: 0.5457 MB / 1.53 GB, free: 148 kB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5269, allocations: 0 / 1.53 GB, free: 148 kB / 1.217 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001241/0.5282, allocations: 0.6446 MB / 1.531 GB, free: 15.48 MB / 1.233 GB Notification: Performance of prepare postOptimizeDAE: time 5.297e-05/0.5282, allocations: 63.39 kB / 1.531 GB, free: 15.41 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.5282, allocations: 4 kB / 1.531 GB, free: 15.4 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.5282, allocations: 4.375 kB / 1.531 GB, free: 15.4 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004371/0.5287, allocations: 99.81 kB / 1.531 GB, free: 15.3 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.5287, allocations: 8 kB / 1.531 GB, free: 15.29 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004556/0.5291, allocations: 75.58 kB / 1.531 GB, free: 15.22 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-05/0.5292, allocations: 27.98 kB / 1.531 GB, free: 15.19 MB / 1.233 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.0002263/0.5294, allocations: 197.6 kB / 1.532 GB, free: 14.99 MB / 1.233 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.423e-05/0.5295, allocations: 59.62 kB / 1.532 GB, free: 14.93 MB / 1.233 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/0.5307, allocations: 0.5304 MB / 1.532 GB, free: 14.39 MB / 1.233 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.5307, allocations: 4 kB / 1.532 GB, free: 14.38 MB / 1.233 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.5307, allocations: 3.938 kB / 1.532 GB, free: 14.38 MB / 1.233 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.5307, allocations: 3.984 kB / 1.532 GB, free: 14.38 MB / 1.233 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0022/0.5329, allocations: 1.325 MB / 1.533 GB, free: 12.96 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.5329, allocations: 7.938 kB / 1.533 GB, free: 12.95 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003741/0.5333, allocations: 67.95 kB / 1.533 GB, free: 12.88 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.806e-06/0.5333, allocations: 8 kB / 1.533 GB, free: 12.88 MB / 1.233 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.101e-05/0.5333, allocations: 15.98 kB / 1.534 GB, free: 12.86 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.5333, allocations: 4 kB / 1.534 GB, free: 12.86 MB / 1.233 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.5333, allocations: 7.938 kB / 1.534 GB, free: 12.85 MB / 1.233 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/0.535, allocations: 0.9429 MB / 1.534 GB, free: 11.84 MB / 1.233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002045/0.5352, allocations: 103.5 kB / 1.535 GB, free: 11.74 MB / 1.233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.448e-05/0.5352, allocations: 8 kB / 1.535 GB, free: 11.73 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004006/0.5356, allocations: 35.95 kB / 1.535 GB, free: 11.7 MB / 1.233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.5358, allocations: 47.94 kB / 1.535 GB, free: 11.65 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.137e-05/0.5358, allocations: 23.92 kB / 1.535 GB, free: 11.63 MB / 1.233 GB Notification: Performance of sorting global known variables: time 0.0003982/0.5362, allocations: 346.8 kB / 1.535 GB, free: 11.29 MB / 1.233 GB Notification: Performance of sort global known variables: time 8e-08/0.5362, allocations: 0 / 1.535 GB, free: 11.29 MB / 1.233 GB Notification: Performance of remove unused functions: time 0.0005004/0.5367, allocations: 151.9 kB / 1.535 GB, free: 11.14 MB / 1.233 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.000289/0.537, allocations: 186.9 kB / 1.535 GB, free: 10.95 MB / 1.233 GB Notification: Performance of simCode: created initialization part: time 0.00111/0.5381, allocations: 0.5606 MB / 1.536 GB, free: 10.37 MB / 1.233 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5381, allocations: 0.75 kB / 1.536 GB, free: 10.37 MB / 1.233 GB Notification: Performance of simCode: created simulation system equations: time 0.0005584/0.5386, allocations: 263.6 kB / 1.536 GB, free: 10.11 MB / 1.233 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/0.5399, allocations: 291.4 kB / 1.536 GB, free: 9.832 MB / 1.233 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.5416, allocations: 1.089 MB / 1.537 GB, free: 8.664 MB / 1.233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004519/0.5421, allocations: 0.8626 MB / 1.538 GB, free: 7.773 MB / 1.233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/0.5422, allocations: 55.42 kB / 1.538 GB, free: 7.719 MB / 1.233 GB Notification: Performance of SimCode: time 3.01e-07/0.5422, allocations: 0 / 1.538 GB, free: 7.719 MB / 1.233 GB Notification: Performance of Templates: time 0.01206/0.5543, allocations: 9.092 MB / 1.547 GB, free: 14.73 MB / 1.248 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: 11.6324282400019]