Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.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.001651/0.001651, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.00203/0.00203, allocations: 193.7 kB / 22.17 MB, free: 5.656 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.493/1.493, allocations: 225.6 MB / 250.9 MB, free: 13.31 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.935/2.935, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002983/0.002983, allocations: 71.89 kB / 1.109 GB, free: 6.559 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9415/0.9445, allocations: 168.7 MB / 1.274 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003521/0.948, allocations: 2.069 MB / 1.276 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003826/0.9518, allocations: 2.62 MB / 1.279 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001879/0.952, allocations: 4 kB / 1.279 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00179/0.9538, allocations: 0.5237 MB / 1.279 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002046/0.954, allocations: 67.59 kB / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.9551, allocations: 278 kB / 1.28 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005795/0.9557, allocations: 323 kB / 1.28 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001875/0.9559, allocations: 45.03 kB / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.9561, allocations: 119.4 kB / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002486/0.9563, allocations: 139.2 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.326e-05/0.9563, allocations: 8 kB / 1.28 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006114/0.957, allocations: 327.5 kB / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001602/0.9571, allocations: 103.5 kB / 1.281 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002509/0.9574, allocations: 222.5 kB / 1.281 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00127/0.9586, allocations: 0.8209 MB / 1.282 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.9586, allocations: 0 / 1.282 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.054e-06/0.9586, allocations: 4 kB / 1.282 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.9587, allocations: 0 / 1.282 GB, free: 12.88 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001531/0.9602, allocations: 0.8911 MB / 1.282 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.9602, allocations: 8.031 kB / 1.282 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.9604, allocations: 72.47 kB / 1.282 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007649/0.9611, allocations: 389 kB / 1.283 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.822e-05/0.9612, allocations: 12.38 kB / 1.283 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.9612, allocations: 4.375 kB / 1.283 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000313/0.9615, allocations: 137.8 kB / 1.283 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.9615, allocations: 0 / 1.283 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.9615, allocations: 0 / 1.283 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.9615, allocations: 4 kB / 1.283 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001762/0.9617, allocations: 99.88 kB / 1.283 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009116/0.9626, allocations: 0.551 MB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/0.9628, allocations: 98.47 kB / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.742e-05/0.9629, allocations: 48.98 kB / 1.284 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.113e-05/0.963, allocations: 12.17 kB / 1.284 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002371/0.9632, allocations: 133 kB / 1.284 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.713e-06/0.9632, allocations: 0 / 1.284 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0005412/0.9637, allocations: 318.9 kB / 1.284 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.853e-05/0.9638, allocations: 85.09 kB / 1.284 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.9648, allocations: 0.7934 MB / 1.285 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.9648, allocations: 25.7 kB / 1.285 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002812/0.9651, allocations: 292.2 kB / 1.285 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.85e-05/0.9652, allocations: 31.73 kB / 1.285 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-05/0.9652, allocations: 25.7 kB / 1.285 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.9654, allocations: 310 kB / 1.286 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.047e-05/0.9654, allocations: 51.97 kB / 1.286 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.336e-05/0.9655, allocations: 48.05 kB / 1.286 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.9657, allocations: 160.2 kB / 1.286 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.9657, allocations: 0 / 1.286 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003476/0.9661, allocations: 266.9 kB / 1.286 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.441e-05/0.9661, allocations: 35.58 kB / 1.286 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.9661, allocations: 3.984 kB / 1.286 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.9661, allocations: 4 kB / 1.286 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.152e-05/0.9662, allocations: 4 kB / 1.286 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.9662, allocations: 4.156 kB / 1.286 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.9663, allocations: 23.83 kB / 1.286 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.9664, allocations: 4 kB / 1.286 GB, free: 7.711 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (booleanToInteger.y,greaterThreshold.y,speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0003615/0.9667, allocations: 339.3 kB / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.56e-05/0.9668, allocations: 67.52 kB / 1.287 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004907/0.9673, allocations: 301.4 kB / 1.287 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.9673, allocations: 4 kB / 1.287 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.9673, allocations: 0 / 1.287 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.9673, allocations: 0 / 1.287 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004223/0.9677, allocations: 385.4 kB / 1.287 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001152/0.9678, allocations: 3.938 kB / 1.287 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.179e-05/0.9679, allocations: 8 kB / 1.287 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.9679, allocations: 0 / 1.287 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.9679, allocations: 7.984 kB / 1.287 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.9679, allocations: 7.922 kB / 1.287 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.9679, allocations: 0 / 1.287 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000492/0.9684, allocations: 318.2 kB / 1.288 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003047/0.9687, allocations: 156.5 kB / 1.288 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.446e-05/0.9688, allocations: 4 kB / 1.288 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.9689, allocations: 7.984 kB / 1.288 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.148e-05/0.9689, allocations: 8 kB / 1.288 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.9689, allocations: 4 kB / 1.288 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0008094/0.9697, allocations: 0.5848 MB / 1.288 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.9697, allocations: 0 / 1.288 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004527/0.9702, allocations: 123.9 kB / 1.289 GB, free: 5.293 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,greaterThreshold.y,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.000415/0.9706, allocations: 191.5 kB / 1.289 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003344/0.9709, allocations: 183.2 kB / 1.289 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.9709, allocations: 0 / 1.289 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.9711, allocations: 115.4 kB / 1.289 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000578/0.9717, allocations: 137.9 kB / 1.289 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.9735, allocations: 1.096 MB / 1.29 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007653/0.9742, allocations: 0.9704 MB / 1.291 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001138/0.9743, allocations: 33.88 kB / 1.291 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.135e-05/0.9744, allocations: 19.44 kB / 1.291 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of SimCode: time 6.11e-07/0.9744, allocations: 0 / 1.291 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of Templates: time 0.01378/0.9882, allocations: 5.595 MB / 1.297 GB, free: 12.98 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.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.199743058998138]