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.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.001712/0.001712, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.002088/0.002088, allocations: 215.8 kB / 23.01 MB, free: 4.602 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.818/2.818, allocations: 476.7 MB / 0.7714 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.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: 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.002003/0.002003, allocations: 65.39 kB / 1.119 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3474, allocations: 169.9 MB / 1.285 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003776/0.3512, allocations: 2.111 MB / 1.287 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003907/0.3551, allocations: 2.643 MB / 1.289 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.3552, allocations: 7.938 kB / 1.289 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.3565, allocations: 0.5094 MB / 1.29 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.3566, allocations: 67.59 kB / 1.29 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009058/0.3575, allocations: 290 kB / 1.29 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004843/0.358, allocations: 314.4 kB / 1.29 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.3582, allocations: 53.19 kB / 1.29 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.3583, allocations: 111.4 kB / 1.291 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002209/0.3585, allocations: 139.3 kB / 1.291 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.893e-05/0.3586, allocations: 8 kB / 1.291 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006043/0.3592, allocations: 367.4 kB / 1.291 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.3593, allocations: 103.5 kB / 1.291 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002143/0.3595, allocations: 218.5 kB / 1.291 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009775/0.3605, allocations: 0.8248 MB / 1.292 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3605, allocations: 4 kB / 1.292 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3605, allocations: 0 / 1.292 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.3605, allocations: 0 / 1.292 GB, free: 3.469 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.001158/0.3617, allocations: 0.8236 MB / 1.293 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.3617, allocations: 8.031 kB / 1.293 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001332/0.3618, allocations: 68.52 kB / 1.293 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005391/0.3624, allocations: 339.1 kB / 1.293 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.3624, allocations: 4.375 kB / 1.293 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.3624, allocations: 12.38 kB / 1.293 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/0.3627, allocations: 129.8 kB / 1.294 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.3627, allocations: 0 / 1.294 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.3627, allocations: 4 kB / 1.294 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.3627, allocations: 4 kB / 1.294 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.3629, allocations: 99.88 kB / 1.294 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008134/0.3637, allocations: 0.5151 MB / 1.294 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.3639, allocations: 94.47 kB / 1.294 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.565e-05/0.364, allocations: 56.97 kB / 1.294 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.881e-05/0.364, allocations: 4.188 kB / 1.294 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001993/0.3642, allocations: 133 kB / 1.294 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.402e-06/0.3642, allocations: 4 kB / 1.294 GB, free: 1.043 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0005218/0.3647, allocations: 314.9 kB / 1.295 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.108e-05/0.3648, allocations: 81.11 kB / 1.295 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009817/0.3658, allocations: 0.7935 MB / 1.296 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.3658, allocations: 25.7 kB / 1.296 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002796/0.3661, allocations: 292.2 kB / 1.296 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/0.3661, allocations: 27.78 kB / 1.296 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.669e-05/0.3662, allocations: 29.7 kB / 1.296 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.3663, allocations: 314 kB / 1.296 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.111e-05/0.3664, allocations: 47.97 kB / 1.296 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.123e-05/0.3665, allocations: 43.97 kB / 1.296 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001953/0.3667, allocations: 164.5 kB / 1.296 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3667, allocations: 0 / 1.296 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003443/0.367, allocations: 274.8 kB / 1.297 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.373e-05/0.3671, allocations: 41.69 kB / 1.297 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3671, allocations: 0 / 1.297 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.3671, allocations: 0 / 1.297 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.134e-05/0.3672, allocations: 8 kB / 1.297 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.3672, allocations: 4 kB / 1.297 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.3673, allocations: 11.92 kB / 1.297 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.3673, allocations: 7.938 kB / 1.297 GB, free: 14.5 MB / 0.9981 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.0003635/0.3677, allocations: 343.3 kB / 1.297 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.416e-05/0.3677, allocations: 79.41 kB / 1.297 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004742/0.3682, allocations: 296.9 kB / 1.297 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3682, allocations: 0 / 1.297 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3682, allocations: 0 / 1.297 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.3682, allocations: 7.984 kB / 1.297 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003906/0.3686, allocations: 344.5 kB / 1.298 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.3686, allocations: 3.938 kB / 1.298 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.965e-05/0.3687, allocations: 12.12 kB / 1.298 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3687, allocations: 0 / 1.298 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.3687, allocations: 11.98 kB / 1.298 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3687, allocations: 0 / 1.298 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3687, allocations: 0 / 1.298 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004145/0.3691, allocations: 318.2 kB / 1.298 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.3692, allocations: 79.39 kB / 1.298 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.737e-05/0.3693, allocations: 7.984 kB / 1.298 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.3694, allocations: 8 kB / 1.298 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.058e-05/0.3695, allocations: 7.984 kB / 1.298 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.3695, allocations: 4 kB / 1.298 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007192/0.3702, allocations: 0.5848 MB / 1.299 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3702, allocations: 0 / 1.299 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000419/0.3706, allocations: 123.9 kB / 1.299 GB, free: 12.21 MB / 0.9981 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.0003683/0.371, allocations: 186.4 kB / 1.299 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003057/0.3713, allocations: 179.3 kB / 1.299 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3713, allocations: 0 / 1.299 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.3714, allocations: 119.4 kB / 1.299 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005203/0.3719, allocations: 119.4 kB / 1.3 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.3737, allocations: 1.164 MB / 1.301 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006887/0.3744, allocations: 0.9665 MB / 1.302 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.761e-05/0.3744, allocations: 19.44 kB / 1.302 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of SimCode: time 3.71e-07/0.3744, allocations: 4 kB / 1.302 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of Templates: time 0.01088/0.3853, allocations: 6.752 MB / 1.308 GB, free: 2.676 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 -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/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: 12.890017300000181]