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.001911/0.001911, allocations: 79.7 kB / 20.23 MB, free: 4.195 MB / 18.57 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.001992/0.001992, allocations: 161.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 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.644/1.644, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.117/3.117, allocations: 377.8 MB / 0.6232 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.404e-06/2.404e-06, allocations: 3.938 kB / 0.8108 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.538e-05/3.778e-05, allocations: 3.062 kB / 0.8108 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2656/0.2656, allocations: 178.5 MB / 0.9851 GB, free: 15.03 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.008495/0.2741, allocations: 4.571 MB / 0.9896 GB, free: 10.45 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007289/0.2749, allocations: 27.75 kB / 0.9896 GB, free: 10.42 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008366/0.2757, allocations: 262 kB / 0.9898 GB, free: 10.16 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.002316/0.278, allocations: 0.7847 MB / 0.9906 GB, free: 9.375 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.004683/0.2827, allocations: 1.599 MB / 0.9922 GB, free: 7.77 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.002028/0.2847, allocations: 1.261 MB / 0.9934 GB, free: 6.504 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007033/0.2854, allocations: 366.1 kB / 0.9938 GB, free: 6.145 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002191/0.2876, allocations: 0.9969 MB / 0.9947 GB, free: 5.145 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007668/0.2884, allocations: 366.9 kB / 0.9951 GB, free: 4.785 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 9.895e-05/0.2885, allocations: 44 kB / 0.9951 GB, free: 4.742 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002892/0.2914, allocations: 1.269 MB / 0.9964 GB, free: 3.469 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002812/0.2917, allocations: 199.3 kB / 0.9965 GB, free: 3.273 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003435/0.292, allocations: 219.5 kB / 0.9968 GB, free: 3.059 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.002509/0.2945, allocations: 1.32 MB / 0.998 GB, free: 1.734 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2945, allocations: 0 / 0.998 GB, free: 1.734 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2945, allocations: 0 / 0.998 GB, free: 1.734 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.2945, allocations: 7.938 kB / 0.9981 GB, free: 1.727 MB / 0.948 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.002077/0.2966, allocations: 1.076 MB / 0.9991 GB, free: 0.6016 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.2966, allocations: 8.031 kB / 0.9991 GB, free: 0.5938 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00217/0.2988, allocations: 390.5 kB / 0.9995 GB, free: 216 kB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009909/0.2998, allocations: 417.4 kB / 0.9999 GB, free: 15.78 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.773e-05/0.2998, allocations: 29 kB / 0.9999 GB, free: 15.75 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-05/0.2999, allocations: 47.98 kB / 1 GB, free: 15.7 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.301, allocations: 0.5014 MB / 1 GB, free: 15.16 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.301, allocations: 3.938 kB / 1 GB, free: 15.15 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.06e-05/0.3011, allocations: 16 kB / 1 GB, free: 15.14 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.3011, allocations: 12 kB / 1 GB, free: 15.12 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008503/0.3019, allocations: 307.7 kB / 1.001 GB, free: 14.82 MB / 0.9636 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003387/0.3053, allocations: 2.152 MB / 1.003 GB, free: 12.59 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.3063, allocations: 291.1 kB / 1.003 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003902/0.3067, allocations: 140.2 kB / 1.003 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005927/0.3073, allocations: 83.92 kB / 1.003 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005926/0.3079, allocations: 246 kB / 1.004 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=37): time 3.166e-06/0.3079, allocations: 0 / 1.004 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of matching and sorting (n=37): time 0.001655/0.3096, allocations: 0.5165 MB / 1.004 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/0.3096, allocations: 59.41 kB / 1.004 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006499/0.3103, allocations: 490.6 kB / 1.005 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 5.963e-05/0.3103, allocations: 41.62 kB / 1.005 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003123/0.3106, allocations: 335.2 kB / 1.005 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/0.3108, allocations: 135 kB / 1.005 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002246/0.311, allocations: 107.8 kB / 1.005 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003372/0.3114, allocations: 0.547 MB / 1.006 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004633/0.3118, allocations: 188.3 kB / 1.006 GB, free: 9.355 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006951/0.3125, allocations: 476.7 kB / 1.006 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009406/0.3135, allocations: 471.7 kB / 1.007 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.3135, allocations: 0 / 1.007 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001288/0.3148, allocations: 0.5971 MB / 1.007 GB, free: 7.637 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 6.695e-05/0.3148, allocations: 63.39 kB / 1.007 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.3148, allocations: 7.938 kB / 1.007 GB, free: 7.555 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.3149, allocations: 4 kB / 1.007 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004758/0.3153, allocations: 92.27 kB / 1.008 GB, free: 7.461 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.436e-05/0.3153, allocations: 11.94 kB / 1.008 GB, free: 7.449 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004416/0.3158, allocations: 63.64 kB / 1.008 GB, free: 7.387 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-05/0.3159, allocations: 27.92 kB / 1.008 GB, free: 7.359 MB / 0.9636 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.0002701/0.3161, allocations: 208.5 kB / 1.008 GB, free: 7.145 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.3162, allocations: 67.66 kB / 1.008 GB, free: 7.078 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/0.3174, allocations: 418.9 kB / 1.008 GB, free: 6.66 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.3174, allocations: 8 kB / 1.008 GB, free: 6.652 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3174, allocations: 0 / 1.008 GB, free: 6.652 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.3174, allocations: 3.984 kB / 1.008 GB, free: 6.648 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002542/0.3199, allocations: 1.164 MB / 1.009 GB, free: 5.383 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.956e-06/0.3199, allocations: 7.984 kB / 1.009 GB, free: 5.375 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000396/0.3203, allocations: 67.91 kB / 1.01 GB, free: 5.309 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.3203, allocations: 4 kB / 1.01 GB, free: 5.305 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.15e-05/0.3204, allocations: 12 kB / 1.01 GB, free: 5.293 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.477e-06/0.3204, allocations: 7.984 kB / 1.01 GB, free: 5.285 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.628e-06/0.3204, allocations: 12.28 kB / 1.01 GB, free: 5.273 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/0.322, allocations: 0.8074 MB / 1.01 GB, free: 4.387 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000236/0.3222, allocations: 79.61 kB / 1.01 GB, free: 4.309 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.163e-05/0.3223, allocations: 15.98 kB / 1.01 GB, free: 4.293 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000378/0.3227, allocations: 23.98 kB / 1.01 GB, free: 4.27 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/0.3229, allocations: 55.8 kB / 1.011 GB, free: 4.215 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.794e-05/0.3229, allocations: 20.03 kB / 1.011 GB, free: 4.195 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0004186/0.3233, allocations: 315 kB / 1.011 GB, free: 3.895 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.3233, allocations: 0 / 1.011 GB, free: 3.895 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0007329/0.3241, allocations: 171.7 kB / 1.011 GB, free: 3.727 MB / 0.9636 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.000427/0.3245, allocations: 183 kB / 1.011 GB, free: 3.535 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00121/0.3257, allocations: 0.5339 MB / 1.012 GB, free: 2.961 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3257, allocations: 0 / 1.012 GB, free: 2.961 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0004771/0.3262, allocations: 195.3 kB / 1.012 GB, free: 2.766 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.3274, allocations: 236.2 kB / 1.012 GB, free: 2.543 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/0.3295, allocations: 0.9935 MB / 1.013 GB, free: 1.457 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.3299, allocations: 266 kB / 1.013 GB, free: 1.176 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0004008/0.3303, allocations: 92.12 kB / 1.013 GB, free: 1.086 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.3304, allocations: 48.42 kB / 1.014 GB, free: 1.039 MB / 0.9636 GB Notification: Performance of SimCode: time 6.21e-07/0.3304, allocations: 0 / 1.014 GB, free: 1.039 MB / 0.9636 GB Notification: Performance of Templates: time 0.02031/0.3507, allocations: 9.323 MB / 1.023 GB, free: 7.953 MB / 0.9792 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 240] 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: 9.180693691014312]