Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001738/0.001738, allocations: 115.1 kB / 17.08 MB, free: 5.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001922/0.001922, allocations: 193.2 kB / 20.03 MB, free: 2.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.06/3.06, allocations: 489.3 MB / 0.7687 GB, free: 3.961 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002005, allocations: 67.89 kB / 1.103 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003/1.005, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.0036/1.009, allocations: 2.16 MB / 1.265 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003357/1.012, allocations: 2.641 MB / 1.267 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000204/1.012, allocations: 2.438 kB / 1.267 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001735/1.014, allocations: 0.5372 MB / 1.268 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003471/1.014, allocations: 128.1 kB / 1.268 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007496/1.015, allocations: 237.7 kB / 1.268 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005516/1.016, allocations: 374.9 kB / 1.269 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001842/1.016, allocations: 76.95 kB / 1.269 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001812/1.016, allocations: 125.4 kB / 1.269 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002295/1.016, allocations: 145.6 kB / 1.269 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.451e-05/1.016, allocations: 8.094 kB / 1.269 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002264/1.017, allocations: 77.73 kB / 1.269 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002012/1.017, allocations: 130.3 kB / 1.269 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002266/1.017, allocations: 231.8 kB / 1.269 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001011/1.018, allocations: 0.7222 MB / 1.27 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/1.018, allocations: 0 / 1.27 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.953e-06/1.018, allocations: 0 / 1.27 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.55e-05/1.018, allocations: 0.9375 kB / 1.27 GB, free: 3.406 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001179/1.019, allocations: 0.925 MB / 1.271 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/1.019, allocations: 9.25 kB / 1.271 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/1.02, allocations: 76.72 kB / 1.271 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005094/1.02, allocations: 468.8 kB / 1.271 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/1.02, allocations: 2.656 kB / 1.271 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/1.02, allocations: 8 kB / 1.271 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/1.02, allocations: 101.8 kB / 1.272 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/1.02, allocations: 0 / 1.272 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/1.02, allocations: 1.094 kB / 1.272 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/1.02, allocations: 5.875 kB / 1.272 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/1.021, allocations: 42.67 kB / 1.272 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007641/1.021, allocations: 0.5184 MB / 1.272 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004206/1.022, allocations: 106.8 kB / 1.272 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.717e-05/1.022, allocations: 32.55 kB / 1.272 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/1.022, allocations: 5.625 kB / 1.272 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001829/1.022, allocations: 86.06 kB / 1.272 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/1.022, allocations: 0 / 1.272 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004547/1.023, allocations: 204 kB / 1.272 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/1.023, allocations: 105 kB / 1.273 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/1.024, allocations: 0.9169 MB / 1.273 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/1.024, allocations: 35.83 kB / 1.274 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002596/1.024, allocations: 318 kB / 1.274 GB, free: 0.8008 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/1.024, allocations: 18.64 kB / 1.274 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-05/1.024, allocations: 24.3 kB / 1.274 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.951e-05/1.024, allocations: 311.3 kB / 1.274 GB, free: 468 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.591e-05/1.024, allocations: 31.72 kB / 1.274 GB, free: 456 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/1.025, allocations: 79.91 kB / 1.274 GB, free: 396 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/1.025, allocations: 67.59 kB / 1.274 GB, free: 360 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/1.025, allocations: 0.5938 kB / 1.274 GB, free: 360 kB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002838/1.025, allocations: 170.3 kB / 1.274 GB, free: 264 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/1.025, allocations: 8.359 kB / 1.275 GB, free: 264 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/1.025, allocations: 5.062 kB / 1.275 GB, free: 260 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/1.025, allocations: 1.062 kB / 1.275 GB, free: 260 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.546e-05/1.025, allocations: 22.5 kB / 1.275 GB, free: 252 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/1.025, allocations: 0.6562 kB / 1.275 GB, free: 252 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/1.025, allocations: 14.7 kB / 1.275 GB, free: 244 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/1.025, allocations: 2.031 kB / 1.275 GB, free: 244 kB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.sta.combiTimeTable.nextTimeEvent,$whenCondition1,sta.combiTimeTable.nextTimeEventScaled,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent,sta.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0003122/1.026, allocations: 322.5 kB / 1.275 GB, free: 60 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.813e-05/1.026, allocations: 76.52 kB / 1.275 GB, free: 16 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001682/1.026, allocations: 77.12 kB / 1.275 GB, free: 15.98 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/1.026, allocations: 1.406 kB / 1.275 GB, free: 15.98 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.026, allocations: 0 / 1.275 GB, free: 15.98 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/1.026, allocations: 8.594 kB / 1.275 GB, free: 15.97 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005099/1.027, allocations: 394.5 kB / 1.275 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/1.027, allocations: 0 / 1.275 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.783e-05/1.027, allocations: 8.391 kB / 1.275 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/1.027, allocations: 3.984 kB / 1.275 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/1.027, allocations: 2.125 kB / 1.275 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/1.027, allocations: 3.641 kB / 1.275 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.027, allocations: 0.6875 kB / 1.275 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003419/1.027, allocations: 201.3 kB / 1.276 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/1.027, allocations: 141.3 kB / 1.276 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.286e-05/1.027, allocations: 6.219 kB / 1.276 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/1.027, allocations: 3.688 kB / 1.276 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.494e-05/1.027, allocations: 10.64 kB / 1.276 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/1.027, allocations: 14.86 kB / 1.276 GB, free: 15.42 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008992/1.028, allocations: 0.6734 MB / 1.276 GB, free: 15.17 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.028, allocations: 1.281 kB / 1.276 GB, free: 15.17 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003295/1.029, allocations: 64.17 kB / 1.276 GB, free: 15.16 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001625/1.03, allocations: 424.6 kB / 1.277 GB, free: 14.97 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002591/1.031, allocations: 73.09 kB / 1.277 GB, free: 14.95 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.031, allocations: 4.5 kB / 1.277 GB, free: 14.95 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 9.624e-05/1.031, allocations: 33.25 kB / 1.277 GB, free: 14.94 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007447/1.031, allocations: 180 kB / 1.277 GB, free: 14.88 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/1.033, allocations: 1.216 MB / 1.278 GB, free: 14.27 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007215/1.034, allocations: 0.9918 MB / 1.279 GB, free: 13.51 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.616e-05/1.034, allocations: 23.34 kB / 1.279 GB, free: 13.5 MB / 1.014 GB Notification: Performance of SimCode: time 4.51e-07/1.034, allocations: 0 / 1.279 GB, free: 13.5 MB / 1.014 GB Notification: Performance of Templates: time 0.01425/1.048, allocations: 7.146 MB / 1.286 GB, free: 12.6 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.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: 13.355722478125244]