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.001616/0.001616, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001766/0.001766, allocations: 222 kB / 23 MB, free: 4.91 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 7.836 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.886/2.886, allocations: 476 MB / 0.7707 GB, free: 4.773 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.002141/0.002141, allocations: 64.91 kB / 1.118 GB, free: 41.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3312, allocations: 170 MB / 1.284 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003768/0.335, allocations: 2.029 MB / 1.286 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003614/0.3386, allocations: 2.351 MB / 1.288 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.3387, allocations: 8 kB / 1.288 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.34, allocations: 461.9 kB / 1.289 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001486/0.3402, allocations: 71.53 kB / 1.289 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009622/0.3412, allocations: 280 kB / 1.289 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005004/0.3417, allocations: 322.4 kB / 1.289 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.3418, allocations: 49.19 kB / 1.289 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.342, allocations: 111.5 kB / 1.289 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002366/0.3422, allocations: 135.2 kB / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.715e-05/0.3422, allocations: 8 kB / 1.289 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006/0.3428, allocations: 335.5 kB / 1.29 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001576/0.343, allocations: 111.5 kB / 1.29 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001751/0.3432, allocations: 142.9 kB / 1.29 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.3442, allocations: 0.8288 MB / 1.291 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.3442, allocations: 7.922 kB / 1.291 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3442, allocations: 0 / 1.291 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.3442, allocations: 0 / 1.291 GB, free: 4.738 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.001226/0.3455, allocations: 0.8236 MB / 1.292 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.3455, allocations: 12.03 kB / 1.292 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.507e-05/0.3456, allocations: 68.52 kB / 1.292 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005396/0.3461, allocations: 335.1 kB / 1.292 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.3462, allocations: 8.375 kB / 1.292 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.3462, allocations: 12.38 kB / 1.292 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002857/0.3465, allocations: 167.5 kB / 1.292 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.3465, allocations: 0 / 1.292 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.3465, allocations: 4 kB / 1.292 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3465, allocations: 0 / 1.292 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001902/0.3467, allocations: 129.6 kB / 1.292 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007642/0.3475, allocations: 472.1 kB / 1.293 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/0.3477, allocations: 124.3 kB / 1.293 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.3478, allocations: 78.64 kB / 1.293 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.041e-05/0.3478, allocations: 4 kB / 1.293 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002386/0.348, allocations: 174.9 kB / 1.293 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.403e-06/0.3481, allocations: 96 / 1.293 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0005614/0.3486, allocations: 378.2 kB / 1.294 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/0.3487, allocations: 81.11 kB / 1.294 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009517/0.3496, allocations: 0.7543 MB / 1.294 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.3497, allocations: 25.7 kB / 1.294 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002944/0.35, allocations: 299.9 kB / 1.295 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.977e-05/0.35, allocations: 31.77 kB / 1.295 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.627e-05/0.3501, allocations: 25.72 kB / 1.295 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.3502, allocations: 314 kB / 1.295 GB, free: 244 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.3503, allocations: 85.67 kB / 1.295 GB, free: 152 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.15e-05/0.3504, allocations: 74.02 kB / 1.295 GB, free: 72 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.3506, allocations: 172.1 kB / 1.295 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3506, allocations: 0 / 1.295 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003865/0.351, allocations: 300.6 kB / 1.296 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.85e-05/0.3511, allocations: 45.62 kB / 1.296 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3511, allocations: 0 / 1.296 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.3511, allocations: 0 / 1.296 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.995e-05/0.3512, allocations: 11.98 kB / 1.296 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.3512, allocations: 0 / 1.296 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.3513, allocations: 7.953 kB / 1.296 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.3513, allocations: 8 kB / 1.296 GB, free: 15.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.0003512/0.3517, allocations: 345.4 kB / 1.296 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.061e-05/0.3517, allocations: 71.5 kB / 1.296 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004741/0.3522, allocations: 326.4 kB / 1.296 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.3522, allocations: 7.984 kB / 1.296 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3522, allocations: 0 / 1.296 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3522, allocations: 0 / 1.296 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003719/0.3526, allocations: 313.1 kB / 1.297 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3526, allocations: 4 kB / 1.297 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.835e-05/0.3527, allocations: 4 kB / 1.297 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3527, allocations: 4 kB / 1.297 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.3527, allocations: 7.938 kB / 1.297 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.3527, allocations: 4.125 kB / 1.297 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3527, allocations: 0 / 1.297 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004232/0.3531, allocations: 352 kB / 1.297 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/0.3532, allocations: 71.44 kB / 1.297 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.25e-05/0.3533, allocations: 7.938 kB / 1.297 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.3534, allocations: 4 kB / 1.297 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.765e-05/0.3535, allocations: 7.984 kB / 1.297 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.3535, allocations: 4 kB / 1.297 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006833/0.3542, allocations: 0.5653 MB / 1.298 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3542, allocations: 0 / 1.298 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000424/0.3546, allocations: 127.8 kB / 1.298 GB, free: 13.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.0003709/0.3549, allocations: 183.1 kB / 1.298 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003552/0.3553, allocations: 246.7 kB / 1.298 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3553, allocations: 0 / 1.298 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.3555, allocations: 145.1 kB / 1.298 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005454/0.356, allocations: 126 kB / 1.298 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.3577, allocations: 1.178 MB / 1.3 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004395/0.3582, allocations: 378.5 kB / 1.3 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.734e-05/0.3582, allocations: 15.44 kB / 1.3 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of SimCode: time 6.21e-07/0.3582, allocations: 4 kB / 1.3 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of Templates: time 0.01106/0.3693, allocations: 6.891 MB / 1.307 GB, free: 4.012 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.30570066999644]