Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001351/0.001351, allocations: 118.2 kB / 17.13 MB, free: 5.945 MB / 14.72 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.001448/0.001448, allocations: 209.5 kB / 20.09 MB, free: 2.996 MB / 14.72 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.588/1.588, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.134/3.134, allocations: 0.49 GB / 0.7923 GB, free: 1.242 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 75.89 kB / 1.15 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.007/1.009, allocations: 176.1 MB / 1.322 GB, free: 25.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003219/1.013, allocations: 2.197 MB / 1.324 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002981/1.016, allocations: 2.822 MB / 1.327 GB, free: 21.53 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/1.016, allocations: 3.938 kB / 1.327 GB, free: 21.52 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001308/1.017, allocations: 0.545 MB / 1.327 GB, free: 21.28 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003722/1.017, allocations: 162.4 kB / 1.328 GB, free: 21.19 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005947/1.018, allocations: 200.7 kB / 1.328 GB, free: 21.09 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005058/1.018, allocations: 386.1 kB / 1.328 GB, free: 20.92 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/1.019, allocations: 46.12 kB / 1.328 GB, free: 20.9 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/1.019, allocations: 135 kB / 1.328 GB, free: 20.85 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002185/1.019, allocations: 162.5 kB / 1.328 GB, free: 20.78 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.856e-05/1.019, allocations: 8.25 kB / 1.328 GB, free: 20.78 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000194/1.019, allocations: 70.75 kB / 1.329 GB, free: 20.76 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001787/1.019, allocations: 134.6 kB / 1.329 GB, free: 20.71 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000191/1.02, allocations: 230 kB / 1.329 GB, free: 20.55 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008481/1.02, allocations: 0.7286 MB / 1.33 GB, free: 20.29 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/1.02, allocations: 0.75 kB / 1.33 GB, free: 20.29 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.924e-06/1.02, allocations: 0 / 1.33 GB, free: 20.29 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.204e-05/1.02, allocations: 4.844 kB / 1.33 GB, free: 20.28 MB / 1.061 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.001289/1.022, allocations: 0.9393 MB / 1.331 GB, free: 19.52 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/1.022, allocations: 13.11 kB / 1.331 GB, free: 19.51 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/1.022, allocations: 73.77 kB / 1.331 GB, free: 19.47 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000524/1.022, allocations: 457.6 kB / 1.331 GB, free: 19.12 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/1.022, allocations: 11.25 kB / 1.331 GB, free: 19.11 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/1.022, allocations: 7.078 kB / 1.331 GB, free: 19.11 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/1.023, allocations: 104.4 kB / 1.331 GB, free: 19.03 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/1.023, allocations: 1.156 kB / 1.331 GB, free: 19.03 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/1.023, allocations: 0 / 1.331 GB, free: 19.03 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/1.023, allocations: 1.906 kB / 1.331 GB, free: 19.03 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/1.023, allocations: 42.66 kB / 1.331 GB, free: 19.02 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007696/1.024, allocations: 0.5332 MB / 1.332 GB, free: 18.64 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004008/1.024, allocations: 99.08 kB / 1.332 GB, free: 18.59 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.826e-05/1.024, allocations: 32.67 kB / 1.332 GB, free: 18.58 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/1.024, allocations: 0.7031 kB / 1.332 GB, free: 18.58 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000184/1.024, allocations: 86.73 kB / 1.332 GB, free: 18.52 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/1.024, allocations: 5.312 kB / 1.332 GB, free: 18.51 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0004559/1.025, allocations: 195.6 kB / 1.332 GB, free: 18.41 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/1.025, allocations: 106.1 kB / 1.332 GB, free: 18.29 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/1.026, allocations: 0.9245 MB / 1.333 GB, free: 17.95 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/1.026, allocations: 27.97 kB / 1.333 GB, free: 17.92 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002369/1.026, allocations: 329 kB / 1.333 GB, free: 17.66 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/1.026, allocations: 16.62 kB / 1.333 GB, free: 17.64 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.107e-05/1.026, allocations: 24.38 kB / 1.333 GB, free: 17.62 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.307e-05/1.026, allocations: 320.4 kB / 1.334 GB, free: 17.31 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.198e-05/1.027, allocations: 31.56 kB / 1.334 GB, free: 17.3 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/1.027, allocations: 76.06 kB / 1.334 GB, free: 17.24 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/1.027, allocations: 67.41 kB / 1.334 GB, free: 17.21 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.027, allocations: 0 / 1.334 GB, free: 17.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002948/1.027, allocations: 174.8 kB / 1.334 GB, free: 17.11 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/1.027, allocations: 8.141 kB / 1.334 GB, free: 17.11 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/1.027, allocations: 0.5625 kB / 1.334 GB, free: 17.11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/1.027, allocations: 1.312 kB / 1.334 GB, free: 17.11 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.997e-05/1.027, allocations: 17.94 kB / 1.334 GB, free: 17.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/1.027, allocations: 5.641 kB / 1.334 GB, free: 17.1 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/1.027, allocations: 21.22 kB / 1.334 GB, free: 17.09 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/1.027, allocations: 7.5 kB / 1.334 GB, free: 17.08 MB / 1.061 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.0003321/1.028, allocations: 319 kB / 1.334 GB, free: 16.9 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.53e-05/1.028, allocations: 76.67 kB / 1.335 GB, free: 16.86 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001327/1.028, allocations: 77.86 kB / 1.335 GB, free: 16.82 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/1.028, allocations: 0.625 kB / 1.335 GB, free: 16.82 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/1.028, allocations: 1.203 kB / 1.335 GB, free: 16.82 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/1.028, allocations: 5.281 kB / 1.335 GB, free: 16.82 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005112/1.028, allocations: 400.4 kB / 1.335 GB, free: 16.55 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.028, allocations: 0 / 1.335 GB, free: 16.55 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.586e-05/1.029, allocations: 7.625 kB / 1.335 GB, free: 16.55 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/1.029, allocations: 1.156 kB / 1.335 GB, free: 16.55 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/1.029, allocations: 6.297 kB / 1.335 GB, free: 16.55 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/1.029, allocations: 0.5312 kB / 1.335 GB, free: 16.55 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.029, allocations: 0.5312 kB / 1.335 GB, free: 16.55 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003672/1.029, allocations: 205 kB / 1.335 GB, free: 16.42 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/1.029, allocations: 141.9 kB / 1.335 GB, free: 16.28 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.991e-05/1.029, allocations: 2.859 kB / 1.335 GB, free: 16.28 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/1.029, allocations: 8.875 kB / 1.335 GB, free: 16.28 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.205e-05/1.029, allocations: 7.375 kB / 1.335 GB, free: 16.28 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/1.029, allocations: 11.5 kB / 1.335 GB, free: 16.27 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001094/1.03, allocations: 0.6849 MB / 1.336 GB, free: 16.01 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.03, allocations: 1.031 kB / 1.336 GB, free: 16.01 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003391/1.031, allocations: 61.44 kB / 1.336 GB, free: 16 MB / 1.061 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.001599/1.032, allocations: 430.4 kB / 1.337 GB, free: 15.8 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002606/1.033, allocations: 69.17 kB / 1.337 GB, free: 15.79 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.033, allocations: 5.156 kB / 1.337 GB, free: 15.78 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.493e-05/1.033, allocations: 32.23 kB / 1.337 GB, free: 15.77 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007401/1.033, allocations: 164.7 kB / 1.337 GB, free: 15.72 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/1.035, allocations: 1.23 MB / 1.338 GB, free: 15.11 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004806/1.036, allocations: 0.9884 MB / 1.339 GB, free: 14.34 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.104e-05/1.036, allocations: 25.62 kB / 1.339 GB, free: 14.34 MB / 1.061 GB Notification: Performance of SimCode: time 8.01e-07/1.036, allocations: 0 / 1.339 GB, free: 14.34 MB / 1.061 GB Notification: Performance of Templates: time 0.01492/1.051, allocations: 7.24 MB / 1.346 GB, free: 13.41 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.713252019995707]