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.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.0009821/0.0009821, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001437/0.002419, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0008529/0.0008529, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001174/0.002027, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.093/1.093, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1284/1.221, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.516/2.516, allocations: 446.7 MB / 0.6745 GB, free: 6.188 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2657/2.782, allocations: 145.9 MB / 0.817 GB, free: 4.191 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.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 2.235e-06/2.235e-06, allocations: 0 / 0.8183 GB, free: 2.855 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.516e-05/2.739e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.852 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003027/0.003055, allocations: 2.274 MB / 0.8206 GB, free: 0.5547 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002929/0.005984, allocations: 2.769 MB / 0.8233 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001617/0.006146, allocations: 0 / 0.8233 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001053/0.007198, allocations: 0.5014 MB / 0.8238 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003224/0.007521, allocations: 175 kB / 0.8239 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004768/0.007997, allocations: 207.3 kB / 0.8241 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0004017/0.008399, allocations: 402 kB / 0.8245 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.008537, allocations: 41.19 kB / 0.8245 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000329/0.008866, allocations: 278.2 kB / 0.8248 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.009013, allocations: 115.6 kB / 0.8249 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.009036, allocations: 8 kB / 0.8249 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001843/0.009221, allocations: 75.88 kB / 0.825 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.009347, allocations: 131.5 kB / 0.8251 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 9.028e-05/0.009437, allocations: 95.56 kB / 0.8252 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0006459/0.01008, allocations: 414.4 kB / 0.8256 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.572e-05/0.0101, allocations: 0 / 0.8256 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.272e-06/0.0101, allocations: 0 / 0.8256 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.615e-05/0.01012, allocations: 0 / 0.8256 GB, free: 11.36 MB / 0.8073 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.0008726/0.01099, allocations: 0.9269 MB / 0.8265 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.01102, allocations: 8.031 kB / 0.8265 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.581e-05/0.01108, allocations: 40.89 kB / 0.8266 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.0114, allocations: 366.2 kB / 0.8269 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.01142, allocations: 4.375 kB / 0.8269 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.01143, allocations: 4.375 kB / 0.8269 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.01159, allocations: 103.4 kB / 0.827 GB, free: 9.836 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.0116, allocations: 3.938 kB / 0.827 GB, free: 9.832 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.01161, allocations: 0 / 0.827 GB, free: 9.832 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.01161, allocations: 4 kB / 0.827 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.953e-05/0.01165, allocations: 19.98 kB / 0.827 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003746/0.01203, allocations: 305.8 kB / 0.8273 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.01222, allocations: 108.1 kB / 0.8274 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.598e-05/0.01225, allocations: 20.86 kB / 0.8275 GB, free: 9.352 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.01226, allocations: 3.938 kB / 0.8275 GB, free: 9.348 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001177/0.01238, allocations: 95.91 kB / 0.8276 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.654e-06/0.01238, allocations: 3.938 kB / 0.8276 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001493/0.01253, allocations: 109.9 kB / 0.8277 GB, free: 9.117 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.01256, allocations: 55.41 kB / 0.8277 GB, free: 9.051 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004933/0.01305, allocations: 0.7633 MB / 0.8285 GB, free: 8.277 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.01307, allocations: 33.7 kB / 0.8285 GB, free: 8.238 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.678e-05/0.01316, allocations: 181.9 kB / 0.8287 GB, free: 8.055 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.01317, allocations: 11.89 kB / 0.8287 GB, free: 8.043 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-05/0.01321, allocations: 25.7 kB / 0.8287 GB, free: 8.012 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.944e-05/0.01328, allocations: 314 kB / 0.829 GB, free: 7.699 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.6e-05/0.01331, allocations: 14.81 kB / 0.829 GB, free: 7.684 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.769e-05/0.01334, allocations: 56.22 kB / 0.8291 GB, free: 7.613 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.07e-05/0.0134, allocations: 55.42 kB / 0.8291 GB, free: 7.551 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.0134, allocations: 0 / 0.8291 GB, free: 7.551 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001167/0.01351, allocations: 108.3 kB / 0.8292 GB, free: 7.438 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.01353, allocations: 8 kB / 0.8292 GB, free: 7.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.01353, allocations: 0 / 0.8292 GB, free: 7.43 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.594e-06/0.01354, allocations: 0 / 0.8292 GB, free: 7.43 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.498e-05/0.0136, allocations: 19.98 kB / 0.8292 GB, free: 7.41 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.756e-06/0.01361, allocations: 0 / 0.8292 GB, free: 7.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.927e-05/0.01368, allocations: 11.92 kB / 0.8293 GB, free: 7.398 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.01368, allocations: 4 kB / 0.8293 GB, free: 7.395 MB / 0.8073 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 9.735e-05/0.01378, allocations: 116.7 kB / 0.8294 GB, free: 7.27 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.566e-05/0.01381, allocations: 55.8 kB / 0.8294 GB, free: 7.215 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001529/0.01397, allocations: 116.1 kB / 0.8295 GB, free: 7.094 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.01397, allocations: 4 kB / 0.8295 GB, free: 7.09 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.01397, allocations: 0 / 0.8295 GB, free: 7.09 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.01397, allocations: 0 / 0.8295 GB, free: 7.09 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.01416, allocations: 201.6 kB / 0.8297 GB, free: 6.875 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.01416, allocations: 0 / 0.8297 GB, free: 6.875 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.775e-05/0.0142, allocations: 12 kB / 0.8297 GB, free: 6.863 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.78e-05/0.01425, allocations: 63.45 kB / 0.8298 GB, free: 6.801 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.01425, allocations: 0 / 0.8298 GB, free: 6.801 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.01426, allocations: 7.938 kB / 0.8298 GB, free: 6.793 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.01426, allocations: 8 kB / 0.8298 GB, free: 6.785 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.01426, allocations: 0 / 0.8298 GB, free: 6.785 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.01439, allocations: 126.6 kB / 0.8299 GB, free: 6.641 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.825e-05/0.01443, allocations: 15.92 kB / 0.83 GB, free: 6.625 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.227e-05/0.01449, allocations: 0 / 0.83 GB, free: 6.625 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.759e-05/0.01453, allocations: 7.984 kB / 0.83 GB, free: 6.617 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.01455, allocations: 8 kB / 0.83 GB, free: 6.609 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0003175/0.01486, allocations: 395.3 kB / 0.8304 GB, free: 6.227 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.01e-07/0.01486, allocations: 0 / 0.8304 GB, free: 6.227 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00022/0.01508, allocations: 59.94 kB / 0.8304 GB, free: 6.168 MB / 0.8073 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.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001815/0.0169, allocations: 0.5566 MB / 0.831 GB, free: 5.879 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001533/0.01705, allocations: 44.77 kB / 0.831 GB, free: 5.832 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.831e-05/0.01707, allocations: 8 kB / 0.831 GB, free: 5.824 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.305e-05/0.01712, allocations: 33.05 kB / 0.831 GB, free: 5.789 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005836/0.01771, allocations: 216 kB / 0.8312 GB, free: 5.582 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005765/0.02347, allocations: 0.9024 MB / 0.8321 GB, free: 4.645 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.0236, allocations: 176.1 kB / 0.8323 GB, free: 4.449 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001693/0.02377, allocations: 34.97 kB / 0.8323 GB, free: 4.414 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002171/0.02398, allocations: 145.3 kB / 0.8325 GB, free: 4.273 MB / 0.8073 GB Notification: Performance of SimCode: time 1.573e-06/0.02399, allocations: 4 kB / 0.8325 GB, free: 4.27 MB / 0.8073 GB Notification: Performance of Templates: time 0.0107/0.03468, allocations: 7.289 MB / 0.8396 GB, free: 13.2 MB / 0.823 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.642567151226103]