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.001802/0.001802, allocations: 81.86 kB / 19.76 MB, free: 2.027 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.002287/0.002287, allocations: 157.1 kB / 23.01 MB, free: 4.961 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.474/1.474, allocations: 177.2 MB / 203.4 MB, free: 8.938 MB / 190.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 2.843/2.843, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 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.002132/0.002132, allocations: 63.91 kB / 0.982 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.019/1.021, allocations: 176.1 MB / 1.154 GB, free: 33.31 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2308/1.252, allocations: 160.7 MB / 1.311 GB, free: 4.426 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.007266/1.259, allocations: 4.162 MB / 1.315 GB, free: 1.145 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008323/1.26, allocations: 28.06 kB / 1.315 GB, free: 1.129 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0008372/1.261, allocations: 254.3 kB / 1.315 GB, free: 0.9102 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002484/1.263, allocations: 0.7628 MB / 1.316 GB, free: 328 kB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004855/1.268, allocations: 1.548 MB / 1.317 GB, free: 15.19 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002234/1.27, allocations: 1.257 MB / 1.319 GB, free: 14.46 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006897/1.271, allocations: 355.2 kB / 1.319 GB, free: 14.21 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002167/1.273, allocations: 0.8343 MB / 1.32 GB, free: 13.71 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006415/1.274, allocations: 402.3 kB / 1.32 GB, free: 13.48 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001059/1.274, allocations: 45 kB / 1.32 GB, free: 13.48 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004156/1.278, allocations: 1.246 MB / 1.321 GB, free: 12.78 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000379/1.279, allocations: 186.3 kB / 1.322 GB, free: 12.65 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0004954/1.279, allocations: 261.6 kB / 1.322 GB, free: 12.5 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002788/1.282, allocations: 1.255 MB / 1.323 GB, free: 11.43 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/1.282, allocations: 0 / 1.323 GB, free: 11.43 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.763e-06/1.282, allocations: 0 / 1.323 GB, free: 11.43 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.392e-05/1.282, allocations: 0 / 1.323 GB, free: 11.43 MB / 1.17 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.001938/1.284, allocations: 0.9682 MB / 1.324 GB, free: 10.41 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/1.284, allocations: 8.031 kB / 1.324 GB, free: 10.4 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002018/1.286, allocations: 291.2 kB / 1.324 GB, free: 10.12 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000881/1.287, allocations: 414.5 kB / 1.325 GB, free: 9.688 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.294e-05/1.287, allocations: 33 kB / 1.325 GB, free: 9.656 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.105e-05/1.287, allocations: 44 kB / 1.325 GB, free: 9.613 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/1.288, allocations: 0.5468 MB / 1.325 GB, free: 9.031 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/1.288, allocations: 4 kB / 1.325 GB, free: 9.027 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.591e-05/1.288, allocations: 16 kB / 1.325 GB, free: 9.012 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/1.288, allocations: 11.94 kB / 1.325 GB, free: 9 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/1.289, allocations: 459.5 kB / 1.326 GB, free: 8.551 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002543/1.292, allocations: 1.686 MB / 1.327 GB, free: 6.805 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/1.293, allocations: 394.4 kB / 1.328 GB, free: 6.41 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004969/1.293, allocations: 209.3 kB / 1.328 GB, free: 6.203 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005615/1.294, allocations: 91.91 kB / 1.328 GB, free: 6.113 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006746/1.294, allocations: 302.6 kB / 1.328 GB, free: 5.805 MB / 1.17 GB Notification: Performance of pre-optimization done (n=37): time 3.186e-06/1.294, allocations: 4 kB / 1.328 GB, free: 5.801 MB / 1.17 GB Notification: Performance of matching and sorting (n=37): time 0.001906/1.296, allocations: 0.6858 MB / 1.329 GB, free: 5.109 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/1.296, allocations: 59.39 kB / 1.329 GB, free: 5.039 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005069/1.297, allocations: 381.9 kB / 1.329 GB, free: 4.656 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.119e-05/1.297, allocations: 41.64 kB / 1.33 GB, free: 4.609 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002483/1.297, allocations: 276.5 kB / 1.33 GB, free: 4.336 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/1.297, allocations: 130.9 kB / 1.33 GB, free: 4.207 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/1.297, allocations: 90.19 kB / 1.33 GB, free: 4.113 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001862/1.298, allocations: 354.8 kB / 1.33 GB, free: 3.758 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000555/1.298, allocations: 260.2 kB / 1.331 GB, free: 3.492 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007207/1.299, allocations: 491.9 kB / 1.331 GB, free: 2.93 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/1.3, allocations: 0.5447 MB / 1.332 GB, free: 2.332 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/1.3, allocations: 3.984 kB / 1.332 GB, free: 2.328 MB / 1.17 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001387/1.301, allocations: 0.7143 MB / 1.332 GB, free: 1.582 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 6.614e-05/1.301, allocations: 68.73 kB / 1.332 GB, free: 1.504 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/1.301, allocations: 4 kB / 1.332 GB, free: 1.5 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.784e-05/1.301, allocations: 4 kB / 1.332 GB, free: 1.496 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005052/1.302, allocations: 95.88 kB / 1.332 GB, free: 1.402 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/1.302, allocations: 4 kB / 1.332 GB, free: 1.398 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004987/1.303, allocations: 63.73 kB / 1.333 GB, free: 1.336 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-05/1.303, allocations: 28.05 kB / 1.333 GB, free: 1.309 MB / 1.17 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.0002694/1.303, allocations: 195.5 kB / 1.333 GB, free: 1.109 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.739e-05/1.303, allocations: 55.59 kB / 1.333 GB, free: 1.055 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/1.304, allocations: 0.5268 MB / 1.333 GB, free: 0.5195 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/1.304, allocations: 11.98 kB / 1.333 GB, free: 0.5078 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/1.304, allocations: 0 / 1.333 GB, free: 0.5078 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/1.304, allocations: 0 / 1.333 GB, free: 0.5078 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00237/1.307, allocations: 1.219 MB / 1.334 GB, free: 15.21 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/1.307, allocations: 4 kB / 1.334 GB, free: 15.2 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004073/1.307, allocations: 71.89 kB / 1.335 GB, free: 15.13 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.265e-05/1.307, allocations: 12.42 kB / 1.335 GB, free: 15.12 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.654e-05/1.307, allocations: 15.94 kB / 1.335 GB, free: 15.11 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.987e-06/1.307, allocations: 8 kB / 1.335 GB, free: 15.1 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/1.307, allocations: 7.938 kB / 1.335 GB, free: 15.09 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001805/1.309, allocations: 0.9275 MB / 1.336 GB, free: 14.1 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002043/1.309, allocations: 95.48 kB / 1.336 GB, free: 14.01 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.409e-05/1.309, allocations: 11.94 kB / 1.336 GB, free: 14 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004111/1.31, allocations: 35.95 kB / 1.336 GB, free: 13.96 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/1.31, allocations: 47.88 kB / 1.336 GB, free: 13.91 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-05/1.31, allocations: 23.92 kB / 1.336 GB, free: 13.89 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0003333/1.31, allocations: 263.2 kB / 1.336 GB, free: 13.63 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/1.31, allocations: 0 / 1.336 GB, free: 13.63 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0006691/1.311, allocations: 159.8 kB / 1.336 GB, free: 13.48 MB / 1.186 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.0003675/1.311, allocations: 179 kB / 1.336 GB, free: 13.29 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001293/1.312, allocations: 0.6236 MB / 1.337 GB, free: 12.63 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/1.312, allocations: 3.938 kB / 1.337 GB, free: 12.63 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0006577/1.313, allocations: 275.3 kB / 1.337 GB, free: 12.36 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/1.314, allocations: 202.5 kB / 1.337 GB, free: 12.17 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/1.316, allocations: 1.041 MB / 1.338 GB, free: 11.06 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/1.316, allocations: 274 kB / 1.339 GB, free: 10.77 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003824/1.317, allocations: 112.1 kB / 1.339 GB, free: 10.66 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/1.317, allocations: 44.48 kB / 1.339 GB, free: 10.61 MB / 1.186 GB Notification: Performance of SimCode: time 7.71e-07/1.317, allocations: 0 / 1.339 GB, free: 10.61 MB / 1.186 GB Notification: Performance of Templates: time 0.01797/1.335, allocations: 9.117 MB / 1.348 GB, free: 1.738 MB / 1.186 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 -s ida -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.771407830994576]