Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001965/0.001965, allocations: 83.69 kB / 20.23 MB, free: 4.191 MB / 18.57 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.001969/0.001969, allocations: 157.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 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.643/1.643, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.155/3.155, allocations: 377.8 MB / 0.6232 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 6.402e-06/6.402e-06, allocations: 4.547 kB / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.563e-05/5.203e-05, allocations: 7.062 kB / 0.8108 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.00472/0.004772, allocations: 2.086 MB / 0.8129 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.004906/0.009679, allocations: 2.549 MB / 0.8154 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.00981, allocations: 3.938 kB / 0.8154 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001411/0.01122, allocations: 480.9 kB / 0.8158 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001739/0.0114, allocations: 64.84 kB / 0.8159 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.01258, allocations: 285.9 kB / 0.8162 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006615/0.01324, allocations: 336.1 kB / 0.8165 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000205/0.01345, allocations: 41.27 kB / 0.8165 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002642/0.01371, allocations: 155.5 kB / 0.8167 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002569/0.01397, allocations: 108.6 kB / 0.8168 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.441e-05/0.01401, allocations: 8 kB / 0.8168 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006973/0.01471, allocations: 340.3 kB / 0.8171 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001761/0.01489, allocations: 107.6 kB / 0.8172 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001723/0.01506, allocations: 95.61 kB / 0.8173 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001234/0.01629, allocations: 0.8618 MB / 0.8182 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.0163, allocations: 0 / 0.8182 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.344e-06/0.0163, allocations: 4 kB / 0.8182 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.01631, allocations: 0.6562 kB / 0.8182 GB, free: 10.61 MB / 0.7761 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.001613/0.01792, allocations: 0.9982 MB / 0.8191 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.01797, allocations: 12.03 kB / 0.8191 GB, free: 9.559 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001505/0.01812, allocations: 76.47 kB / 0.8192 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005696/0.01869, allocations: 338.8 kB / 0.8195 GB, free: 9.129 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.01871, allocations: 8.281 kB / 0.8195 GB, free: 9.121 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.01874, allocations: 16.25 kB / 0.8196 GB, free: 9.105 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002731/0.01901, allocations: 129.4 kB / 0.8197 GB, free: 8.969 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.01903, allocations: 3.938 kB / 0.8197 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.788e-05/0.01905, allocations: 0 / 0.8197 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.01906, allocations: 7.375 kB / 0.8197 GB, free: 8.961 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001851/0.01925, allocations: 89.66 kB / 0.8198 GB, free: 8.867 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00151/0.02076, allocations: 0.679 MB / 0.8204 GB, free: 8.152 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.02096, allocations: 104.7 kB / 0.8205 GB, free: 8.031 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.02108, allocations: 65.61 kB / 0.8206 GB, free: 7.957 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.308e-05/0.02113, allocations: 15.92 kB / 0.8206 GB, free: 7.941 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002484/0.02138, allocations: 148.4 kB / 0.8208 GB, free: 7.77 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.02138, allocations: 0 / 0.8208 GB, free: 7.77 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0006102/0.02199, allocations: 314.9 kB / 0.8211 GB, free: 7.438 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.948e-05/0.02207, allocations: 82.36 kB / 0.8211 GB, free: 7.34 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.02347, allocations: 0.9331 MB / 0.8221 GB, free: 6.391 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.0235, allocations: 29.7 kB / 0.8221 GB, free: 6.355 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000503/0.02401, allocations: 431.6 kB / 0.8225 GB, free: 5.93 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.28e-05/0.02405, allocations: 31.73 kB / 0.8225 GB, free: 5.898 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.426e-05/0.02412, allocations: 35.38 kB / 0.8226 GB, free: 5.855 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003018/0.02442, allocations: 493.5 kB / 0.823 GB, free: 5.367 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.678e-05/0.02452, allocations: 61.69 kB / 0.8231 GB, free: 5.301 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.242e-05/0.0246, allocations: 57.69 kB / 0.8231 GB, free: 5.238 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.02479, allocations: 128.7 kB / 0.8233 GB, free: 5.098 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.02479, allocations: 0 / 0.8233 GB, free: 5.098 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004322/0.02523, allocations: 272.5 kB / 0.8235 GB, free: 4.812 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.344e-05/0.02529, allocations: 38.78 kB / 0.8236 GB, free: 4.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.02529, allocations: 0 / 0.8236 GB, free: 4.77 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.02532, allocations: 7.875 kB / 0.8236 GB, free: 4.762 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.534e-05/0.02541, allocations: 12.64 kB / 0.8236 GB, free: 4.75 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.02542, allocations: 2.25 kB / 0.8236 GB, free: 4.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.02554, allocations: 8 kB / 0.8236 GB, free: 4.742 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/0.02557, allocations: 4 kB / 0.8236 GB, free: 4.738 MB / 0.7761 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.0002973/0.02586, allocations: 256.6 kB / 0.8238 GB, free: 4.473 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.333e-05/0.02596, allocations: 75.56 kB / 0.8239 GB, free: 4.398 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004739/0.02643, allocations: 270.5 kB / 0.8242 GB, free: 4.109 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.02644, allocations: 7.031 kB / 0.8242 GB, free: 4.105 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.02644, allocations: 0 / 0.8242 GB, free: 4.105 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.02644, allocations: 0 / 0.8242 GB, free: 4.105 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007207/0.02716, allocations: 0.4886 MB / 0.8247 GB, free: 3.582 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.02717, allocations: 4.125 kB / 0.8247 GB, free: 3.578 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.595e-05/0.02722, allocations: 11.98 kB / 0.8247 GB, free: 3.566 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.02722, allocations: 0 / 0.8247 GB, free: 3.566 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.02723, allocations: 4 kB / 0.8247 GB, free: 3.562 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.02723, allocations: 0.9375 kB / 0.8247 GB, free: 3.562 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.02724, allocations: 3.938 kB / 0.8247 GB, free: 3.559 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004584/0.0277, allocations: 312.5 kB / 0.825 GB, free: 3.219 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001582/0.02786, allocations: 67.48 kB / 0.825 GB, free: 3.152 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.816e-05/0.02792, allocations: 8 kB / 0.825 GB, free: 3.145 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.623e-05/0.02801, allocations: 5.062 kB / 0.8251 GB, free: 3.141 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.29e-05/0.02808, allocations: 7.922 kB / 0.8251 GB, free: 3.133 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.02809, allocations: 8 kB / 0.8251 GB, free: 3.125 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000758/0.02885, allocations: 0.5313 MB / 0.8256 GB, free: 2.602 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.02885, allocations: 4 kB / 0.8256 GB, free: 2.598 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004994/0.02935, allocations: 131.8 kB / 0.8257 GB, free: 2.469 MB / 0.7761 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.0005113/0.02986, allocations: 208 kB / 0.8259 GB, free: 2.254 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003707/0.03023, allocations: 221.7 kB / 0.8261 GB, free: 2.012 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.03023, allocations: 0 / 0.8261 GB, free: 2.012 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001911/0.03042, allocations: 152.7 kB / 0.8263 GB, free: 1.84 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005866/0.03101, allocations: 127.3 kB / 0.8264 GB, free: 1.719 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.03287, allocations: 0.9475 MB / 0.8273 GB, free: 0.7305 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004361/0.0333, allocations: 334.5 kB / 0.8276 GB, free: 388 kB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.376e-05/0.03339, allocations: 21.89 kB / 0.8277 GB, free: 368 kB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.033e-05/0.03344, allocations: 24.48 kB / 0.8277 GB, free: 344 kB / 0.7761 GB Notification: Performance of SimCode: time 1.052e-06/0.03344, allocations: 0 / 0.8277 GB, free: 344 kB / 0.7761 GB Notification: Performance of Templates: time 0.01319/0.04663, allocations: 5.594 MB / 0.8331 GB, free: 10.88 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.790613924036734]