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.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.002401/0.002401, allocations: 85.48 kB / 19.44 MB, free: 336 kB / 13.93 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.002813/0.002813, allocations: 173.2 kB / 22.76 MB, free: 1.656 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.602/1.602, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.391/3.391, allocations: 429.5 MB / 0.6729 GB, free: 4.004 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 1.393e-06/1.393e-06, allocations: 0 / 0.8775 GB, free: 6.605 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.753e-05/2.893e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.602 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2483/0.2484, allocations: 178.5 MB / 1.052 GB, free: 3.543 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.5112/0.7595, allocations: 4.529 MB / 1.056 GB, free: 47.71 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006839/0.7602, allocations: 30.06 kB / 1.056 GB, free: 47.71 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0006911/0.7609, allocations: 254.1 kB / 1.056 GB, free: 47.71 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001863/0.7628, allocations: 0.7785 MB / 1.057 GB, free: 47.71 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.003612/0.7664, allocations: 1.6 MB / 1.059 GB, free: 47.67 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001402/0.7678, allocations: 1.219 MB / 1.06 GB, free: 47.67 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004639/0.7683, allocations: 355.3 kB / 1.06 GB, free: 47.66 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001671/0.7699, allocations: 0.9735 MB / 1.061 GB, free: 47.66 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004898/0.7704, allocations: 356.9 kB / 1.062 GB, free: 47.66 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 8.688e-05/0.7705, allocations: 46.62 kB / 1.062 GB, free: 47.66 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002459/0.773, allocations: 1.265 MB / 1.063 GB, free: 47.64 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002149/0.7732, allocations: 199.3 kB / 1.063 GB, free: 47.64 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002598/0.7734, allocations: 213.9 kB / 1.063 GB, free: 47.64 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001865/0.7753, allocations: 1.33 MB / 1.065 GB, free: 47.56 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.7753, allocations: 0.5 kB / 1.065 GB, free: 47.56 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7753, allocations: 1.188 kB / 1.065 GB, free: 47.56 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.036e-05/0.7753, allocations: 0 / 1.065 GB, free: 47.56 MB / 1.01 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.001492/0.7768, allocations: 1.067 MB / 1.066 GB, free: 46.88 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.7769, allocations: 8.344 kB / 1.066 GB, free: 46.88 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00188/0.7787, allocations: 389.1 kB / 1.066 GB, free: 46.8 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007065/0.7794, allocations: 406.5 kB / 1.066 GB, free: 46.61 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.021e-05/0.7795, allocations: 30.12 kB / 1.066 GB, free: 46.61 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.046e-05/0.7795, allocations: 45.94 kB / 1.066 GB, free: 46.61 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007473/0.7803, allocations: 0.5009 MB / 1.067 GB, free: 46.47 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.7803, allocations: 2.938 kB / 1.067 GB, free: 46.47 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.97e-05/0.7803, allocations: 15.53 kB / 1.067 GB, free: 46.47 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.7804, allocations: 13.2 kB / 1.067 GB, free: 46.47 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006996/0.7811, allocations: 314 kB / 1.067 GB, free: 46.47 MB / 1.01 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.002054/0.7831, allocations: 2.142 MB / 1.069 GB, free: 45.11 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006701/0.7838, allocations: 277.4 kB / 1.07 GB, free: 45.08 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003181/0.7841, allocations: 146.3 kB / 1.07 GB, free: 45.07 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004716/0.7846, allocations: 86.72 kB / 1.07 GB, free: 45.07 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004515/0.785, allocations: 243.9 kB / 1.07 GB, free: 45 MB / 1.01 GB Notification: Performance of pre-optimization done (n=37): time 2.365e-06/0.785, allocations: 0 / 1.07 GB, free: 45 MB / 1.01 GB Notification: Performance of matching and sorting (n=37): time 0.001294/0.7863, allocations: 0.5079 MB / 1.071 GB, free: 44.94 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.7863, allocations: 60.31 kB / 1.071 GB, free: 44.88 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003604/0.7867, allocations: 486.4 kB / 1.071 GB, free: 44.7 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.368e-05/0.7867, allocations: 32.02 kB / 1.071 GB, free: 44.66 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.7869, allocations: 336.3 kB / 1.071 GB, free: 44.46 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 8.343e-05/0.787, allocations: 139.5 kB / 1.072 GB, free: 44.38 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.7871, allocations: 105.5 kB / 1.072 GB, free: 44.36 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.7872, allocations: 0.544 MB / 1.072 GB, free: 43.86 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003398/0.7876, allocations: 192.7 kB / 1.072 GB, free: 43.8 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004339/0.788, allocations: 477.4 kB / 1.073 GB, free: 43.43 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000648/0.7886, allocations: 471 kB / 1.073 GB, free: 43.21 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.7887, allocations: 0 / 1.073 GB, free: 43.21 MB / 1.01 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009259/0.7896, allocations: 0.6027 MB / 1.074 GB, free: 43.02 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.597e-05/0.7896, allocations: 60.19 kB / 1.074 GB, free: 42.95 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.7896, allocations: 2.969 kB / 1.074 GB, free: 42.95 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.7896, allocations: 4 kB / 1.074 GB, free: 42.95 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003997/0.79, allocations: 95.12 kB / 1.074 GB, free: 42.95 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.7901, allocations: 7.234 kB / 1.074 GB, free: 42.95 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003842/0.7904, allocations: 59.64 kB / 1.074 GB, free: 42.93 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.911e-05/0.7905, allocations: 27.16 kB / 1.074 GB, free: 42.93 MB / 1.01 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.0001631/0.7906, allocations: 216.8 kB / 1.074 GB, free: 42.77 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.622e-05/0.7907, allocations: 64.42 kB / 1.074 GB, free: 42.74 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008748/0.7916, allocations: 417.5 kB / 1.075 GB, free: 42.7 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.7916, allocations: 2.562 kB / 1.075 GB, free: 42.7 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.7916, allocations: 0 / 1.075 GB, free: 42.7 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.7916, allocations: 4.422 kB / 1.075 GB, free: 42.7 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001683/0.7933, allocations: 1.174 MB / 1.076 GB, free: 42.22 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.7933, allocations: 4.078 kB / 1.076 GB, free: 42.22 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003281/0.7936, allocations: 64.17 kB / 1.076 GB, free: 42.22 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.7936, allocations: 6.875 kB / 1.076 GB, free: 42.22 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.229e-05/0.7937, allocations: 12.72 kB / 1.076 GB, free: 42.22 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.223e-06/0.7937, allocations: 16.34 kB / 1.076 GB, free: 42.21 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.7937, allocations: 3.5 kB / 1.076 GB, free: 42.21 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.7948, allocations: 0.8075 MB / 1.077 GB, free: 41.82 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001858/0.795, allocations: 86.52 kB / 1.077 GB, free: 41.8 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.785e-05/0.7951, allocations: 14.81 kB / 1.077 GB, free: 41.8 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003453/0.7954, allocations: 32.17 kB / 1.077 GB, free: 41.79 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.7955, allocations: 51.42 kB / 1.077 GB, free: 41.79 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/0.7956, allocations: 12.5 kB / 1.077 GB, free: 41.79 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002455/0.7958, allocations: 310.7 kB / 1.077 GB, free: 41.67 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.7958, allocations: 1.094 kB / 1.077 GB, free: 41.67 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005431/0.7964, allocations: 173.7 kB / 1.077 GB, free: 41.65 MB / 1.01 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.0002838/0.7966, allocations: 182.1 kB / 1.078 GB, free: 41.56 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0008333/0.7975, allocations: 0.5387 MB / 1.078 GB, free: 41.36 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.7975, allocations: 0 / 1.078 GB, free: 41.36 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003736/0.7979, allocations: 195.5 kB / 1.078 GB, free: 41.34 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.7989, allocations: 207.4 kB / 1.079 GB, free: 41.34 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.8003, allocations: 0.9994 MB / 1.08 GB, free: 40.77 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001813/0.8005, allocations: 259.3 kB / 1.08 GB, free: 40.68 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003406/0.8008, allocations: 92.22 kB / 1.08 GB, free: 40.68 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.801, allocations: 45.08 kB / 1.08 GB, free: 40.67 MB / 1.01 GB Notification: Performance of SimCode: time 6.81e-07/0.801, allocations: 3 kB / 1.08 GB, free: 40.67 MB / 1.01 GB Notification: Performance of Templates: time 0.01955/0.8205, allocations: 9.047 MB / 1.089 GB, free: 39.97 MB / 1.01 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.829050792031921]