Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002461/0.002461, allocations: 87.69 kB / 20.24 MB, free: 4.188 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.002792/0.002792, allocations: 161.3 kB / 23.55 MB, free: 0.875 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.593/1.593, allocations: 177.1 MB / 203.9 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.885/2.885, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 4.812 kB / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.723e-05/2.882e-05, allocations: 5.125 kB / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2564/0.2565, allocations: 178.4 MB / 0.9607 GB, free: 9.766 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.008193/0.2646, allocations: 4.558 MB / 0.9651 GB, free: 5.195 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007087/0.2654, allocations: 27.75 kB / 0.9651 GB, free: 5.168 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0009034/0.2663, allocations: 262 kB / 0.9654 GB, free: 4.91 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002338/0.2686, allocations: 0.7809 MB / 0.9662 GB, free: 4.125 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.004359/0.273, allocations: 1.603 MB / 0.9677 GB, free: 2.512 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.002083/0.275, allocations: 1.269 MB / 0.969 GB, free: 1.234 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001191/0.2762, allocations: 381.9 kB / 0.9693 GB, free: 0.8633 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001775/0.278, allocations: 0.7596 MB / 0.9701 GB, free: 104 kB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007853/0.2788, allocations: 362.9 kB / 0.9704 GB, free: 15.75 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001351/0.2789, allocations: 44 kB / 0.9705 GB, free: 15.7 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002875/0.2818, allocations: 1.289 MB / 0.9717 GB, free: 14.41 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0002732/0.2821, allocations: 195.4 kB / 0.9719 GB, free: 14.22 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0003523/0.2824, allocations: 215.5 kB / 0.9721 GB, free: 14.01 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.002277/0.2847, allocations: 1.328 MB / 0.9734 GB, free: 12.68 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.2847, allocations: 0 / 0.9734 GB, free: 12.68 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2847, allocations: 4 kB / 0.9734 GB, free: 12.67 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.2847, allocations: 4 kB / 0.9734 GB, free: 12.67 MB / 0.9323 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.001936/0.2867, allocations: 1.072 MB / 0.9745 GB, free: 11.54 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.2867, allocations: 12.03 kB / 0.9745 GB, free: 11.53 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002076/0.2888, allocations: 386.5 kB / 0.9748 GB, free: 11.15 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000925/0.2897, allocations: 425.4 kB / 0.9752 GB, free: 10.71 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.597e-05/0.2897, allocations: 36.98 kB / 0.9753 GB, free: 10.68 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.845e-05/0.2898, allocations: 48 kB / 0.9753 GB, free: 10.63 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.2908, allocations: 0.4975 MB / 0.9758 GB, free: 10.09 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.2909, allocations: 3.938 kB / 0.9758 GB, free: 10.08 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.062e-05/0.2909, allocations: 19.94 kB / 0.9758 GB, free: 10.06 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/0.2909, allocations: 12 kB / 0.9758 GB, free: 10.05 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000853/0.2918, allocations: 307.8 kB / 0.9761 GB, free: 9.75 MB / 0.9323 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.003272/0.2951, allocations: 2.148 MB / 0.9782 GB, free: 7.523 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008137/0.2959, allocations: 279 kB / 0.9785 GB, free: 7.238 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003746/0.2962, allocations: 143.6 kB / 0.9786 GB, free: 7.094 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005362/0.2968, allocations: 87.92 kB / 0.9787 GB, free: 7.008 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000563/0.2973, allocations: 240.8 kB / 0.9789 GB, free: 6.758 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=37): time 1.934e-06/0.2973, allocations: 0 / 0.9789 GB, free: 6.758 MB / 0.9323 GB Notification: Performance of matching and sorting (n=37): time 0.001564/0.2989, allocations: 0.5179 MB / 0.9795 GB, free: 6.234 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/0.299, allocations: 55.41 kB / 0.9795 GB, free: 6.168 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006164/0.2996, allocations: 494.6 kB / 0.98 GB, free: 5.668 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.061e-05/0.2996, allocations: 33.7 kB / 0.98 GB, free: 5.629 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002962/0.2999, allocations: 343.2 kB / 0.9803 GB, free: 5.289 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/0.3001, allocations: 131 kB / 0.9805 GB, free: 5.16 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002102/0.3003, allocations: 107.8 kB / 0.9806 GB, free: 5.047 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0003333/0.3006, allocations: 0.5469 MB / 0.9811 GB, free: 4.488 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004368/0.3011, allocations: 192.2 kB / 0.9813 GB, free: 4.289 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006965/0.3018, allocations: 476.5 kB / 0.9817 GB, free: 3.727 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009227/0.3027, allocations: 471 kB / 0.9822 GB, free: 3.199 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3027, allocations: 0 / 0.9822 GB, free: 3.199 MB / 0.9323 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001347/0.304, allocations: 0.5894 MB / 0.9828 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 7.213e-05/0.3041, allocations: 67.39 kB / 0.9828 GB, free: 2.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.3041, allocations: 15.81 kB / 0.9828 GB, free: 2.484 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.3041, allocations: 4.375 kB / 0.9828 GB, free: 2.48 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004692/0.3046, allocations: 95.89 kB / 0.9829 GB, free: 2.387 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.3046, allocations: 4 kB / 0.9829 GB, free: 2.383 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004344/0.305, allocations: 59.7 kB / 0.983 GB, free: 2.324 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-05/0.3051, allocations: 20 kB / 0.983 GB, free: 2.305 MB / 0.9323 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.0004009/0.3055, allocations: 222.1 kB / 0.9832 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.3056, allocations: 63.67 kB / 0.9833 GB, free: 2.016 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/0.3067, allocations: 427.2 kB / 0.9837 GB, free: 1.594 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.3068, allocations: 4 kB / 0.9837 GB, free: 1.59 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.3068, allocations: 0 / 0.9837 GB, free: 1.59 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.3068, allocations: 0 / 0.9837 GB, free: 1.59 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002346/0.3091, allocations: 1.169 MB / 0.9848 GB, free: 328 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.3091, allocations: 4 kB / 0.9848 GB, free: 324 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003901/0.3095, allocations: 75.95 kB / 0.9849 GB, free: 248 kB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-06/0.3095, allocations: 4 kB / 0.9849 GB, free: 244 kB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.682e-05/0.3096, allocations: 12 kB / 0.9849 GB, free: 232 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.338e-06/0.3096, allocations: 4.438 kB / 0.9849 GB, free: 228 kB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.297e-06/0.3096, allocations: 15.88 kB / 0.985 GB, free: 212 kB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001599/0.3112, allocations: 0.8121 MB / 0.9857 GB, free: 15.31 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002342/0.3114, allocations: 75.61 kB / 0.9858 GB, free: 15.24 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.359e-05/0.3115, allocations: 16 kB / 0.9858 GB, free: 15.22 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003865/0.3119, allocations: 32 kB / 0.9859 GB, free: 15.19 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/0.312, allocations: 51.81 kB / 0.9859 GB, free: 15.14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-05/0.3121, allocations: 15.98 kB / 0.9859 GB, free: 15.12 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004347/0.3125, allocations: 315.1 kB / 0.9862 GB, free: 14.82 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.3125, allocations: 0 / 0.9862 GB, free: 14.82 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007439/0.3132, allocations: 171.7 kB / 0.9864 GB, free: 14.65 MB / 0.948 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.0004185/0.3137, allocations: 183 kB / 0.9866 GB, free: 14.46 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001289/0.315, allocations: 0.5336 MB / 0.9871 GB, free: 13.89 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.315, allocations: 0 / 0.9871 GB, free: 13.89 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000481/0.3154, allocations: 192.8 kB / 0.9873 GB, free: 13.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.3167, allocations: 227.1 kB / 0.9875 GB, free: 13.48 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/0.3189, allocations: 1.002 MB / 0.9885 GB, free: 12.39 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.3192, allocations: 262 kB / 0.9887 GB, free: 12.11 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003994/0.3196, allocations: 92.12 kB / 0.9888 GB, free: 12.02 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/0.3198, allocations: 44.5 kB / 0.9888 GB, free: 11.98 MB / 0.948 GB Notification: Performance of SimCode: time 7.32e-07/0.3198, allocations: 0 / 0.9888 GB, free: 11.98 MB / 0.948 GB Notification: Performance of Templates: time 0.02005/0.3398, allocations: 9.325 MB / 0.998 GB, free: 2.895 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.751938266912475]