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.001942/0.001942, allocations: 104.3 kB / 19.7 MB, free: 2.152 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.001768/0.001768, allocations: 215.2 kB / 22.99 MB, free: 4.965 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.617/1.617, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.517/3.517, allocations: 0.49 GB / 0.7959 GB, free: 35.44 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.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: 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.002047/0.002047, allocations: 66.83 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.432/0.434, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.005064/0.4391, allocations: 2.028 MB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004622/0.4437, allocations: 2.371 MB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001656/0.4439, allocations: 3.938 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001516/0.4454, allocations: 461.9 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000171/0.4456, allocations: 67.59 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.4467, allocations: 286 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005047/0.4472, allocations: 310.4 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.4474, allocations: 53.19 kB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.4475, allocations: 111.4 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002311/0.4477, allocations: 143.2 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.434e-05/0.4478, allocations: 8 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006543/0.4484, allocations: 347.5 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000157/0.4486, allocations: 119.4 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.4487, allocations: 146.9 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00108/0.4498, allocations: 0.8287 MB / 1.334 GB, free: 9.691 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.864e-06/0.4498, allocations: 3.984 kB / 1.334 GB, free: 9.688 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4498, allocations: 0 / 1.334 GB, free: 9.688 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.256e-06/0.4498, allocations: 4 kB / 1.334 GB, free: 9.684 MB / 1.029 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.001285/0.4511, allocations: 0.8197 MB / 1.335 GB, free: 8.824 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.4512, allocations: 8.031 kB / 1.335 GB, free: 8.816 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.4513, allocations: 68.52 kB / 1.335 GB, free: 8.75 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006305/0.4519, allocations: 331.1 kB / 1.335 GB, free: 8.398 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.4519, allocations: 12.38 kB / 1.335 GB, free: 8.387 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.985e-05/0.4519, allocations: 12.38 kB / 1.335 GB, free: 8.375 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000313/0.4523, allocations: 159.6 kB / 1.336 GB, free: 8.207 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.4523, allocations: 0 / 1.336 GB, free: 8.207 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.4523, allocations: 4 kB / 1.336 GB, free: 8.203 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.4523, allocations: 3.938 kB / 1.336 GB, free: 8.199 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002065/0.4525, allocations: 129.6 kB / 1.336 GB, free: 8.066 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008302/0.4533, allocations: 468.1 kB / 1.336 GB, free: 7.578 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/0.4536, allocations: 128.2 kB / 1.336 GB, free: 7.438 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.4537, allocations: 82.67 kB / 1.336 GB, free: 7.348 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.416e-05/0.4537, allocations: 8 kB / 1.336 GB, free: 7.34 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002663/0.454, allocations: 170.9 kB / 1.336 GB, free: 7.148 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.454, allocations: 0 / 1.336 GB, free: 7.148 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0006715/0.4547, allocations: 370.3 kB / 1.337 GB, free: 6.762 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.503e-05/0.4547, allocations: 81.11 kB / 1.337 GB, free: 6.664 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009765/0.4557, allocations: 0.7581 MB / 1.338 GB, free: 5.895 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.074e-05/0.4557, allocations: 29.7 kB / 1.338 GB, free: 5.859 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003336/0.4561, allocations: 303.9 kB / 1.338 GB, free: 5.559 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.201e-05/0.4561, allocations: 27.78 kB / 1.338 GB, free: 5.531 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.999e-05/0.4562, allocations: 21.72 kB / 1.338 GB, free: 5.504 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.4563, allocations: 322 kB / 1.338 GB, free: 5.184 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.4565, allocations: 77.67 kB / 1.338 GB, free: 5.102 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.41e-05/0.4565, allocations: 73.69 kB / 1.338 GB, free: 5.023 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002041/0.4567, allocations: 164.6 kB / 1.339 GB, free: 4.848 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4568, allocations: 0 / 1.339 GB, free: 4.848 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004002/0.4572, allocations: 312.4 kB / 1.339 GB, free: 4.523 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.287e-05/0.4572, allocations: 45.62 kB / 1.339 GB, free: 4.473 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.4572, allocations: 0 / 1.339 GB, free: 4.473 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.4572, allocations: 0 / 1.339 GB, free: 4.473 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.769e-05/0.4573, allocations: 11.98 kB / 1.339 GB, free: 4.461 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.4573, allocations: 0 / 1.339 GB, free: 4.461 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.4575, allocations: 19.89 kB / 1.339 GB, free: 4.441 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.406e-05/0.4575, allocations: 4 kB / 1.339 GB, free: 4.438 MB / 1.029 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.000382/0.4579, allocations: 335.9 kB / 1.339 GB, free: 4.094 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.388e-05/0.4579, allocations: 71.52 kB / 1.339 GB, free: 4.023 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005622/0.4585, allocations: 326.5 kB / 1.34 GB, free: 3.68 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.4585, allocations: 0 / 1.34 GB, free: 3.68 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.4585, allocations: 0 / 1.34 GB, free: 3.68 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.4585, allocations: 0 / 1.34 GB, free: 3.68 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004273/0.4589, allocations: 317.2 kB / 1.34 GB, free: 3.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4589, allocations: 0 / 1.34 GB, free: 3.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.109e-05/0.459, allocations: 8 kB / 1.34 GB, free: 3.332 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.459, allocations: 0 / 1.34 GB, free: 3.332 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.459, allocations: 11.88 kB / 1.34 GB, free: 3.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.459, allocations: 0 / 1.34 GB, free: 3.32 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.459, allocations: 0 / 1.34 GB, free: 3.32 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005122/0.4595, allocations: 348 kB / 1.34 GB, free: 2.949 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/0.4597, allocations: 71.5 kB / 1.34 GB, free: 2.879 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.865e-05/0.4597, allocations: 7.938 kB / 1.34 GB, free: 2.871 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.4598, allocations: 4 kB / 1.34 GB, free: 2.867 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.186e-05/0.4599, allocations: 11.98 kB / 1.34 GB, free: 2.855 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.4599, allocations: 8 kB / 1.34 GB, free: 2.848 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007384/0.4606, allocations: 0.5575 MB / 1.341 GB, free: 2.297 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4606, allocations: 0 / 1.341 GB, free: 2.297 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005141/0.4612, allocations: 127.8 kB / 1.341 GB, free: 2.172 MB / 1.029 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.0004512/0.4616, allocations: 191 kB / 1.341 GB, free: 1.977 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004007/0.462, allocations: 246.7 kB / 1.342 GB, free: 1.711 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.462, allocations: 0 / 1.342 GB, free: 1.711 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001853/0.4622, allocations: 153 kB / 1.342 GB, free: 1.543 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005961/0.4628, allocations: 125.5 kB / 1.342 GB, free: 1.418 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.4645, allocations: 1.114 MB / 1.343 GB, free: 276 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000453/0.465, allocations: 378.5 kB / 1.343 GB, free: 15.88 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 9.509e-05/0.4651, allocations: 25.89 kB / 1.343 GB, free: 15.85 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.179e-05/0.4651, allocations: 15.44 kB / 1.343 GB, free: 15.84 MB / 1.045 GB Notification: Performance of SimCode: time 8.21e-07/0.4651, allocations: 0 / 1.343 GB, free: 15.84 MB / 1.045 GB Notification: Performance of Templates: time 0.01475/0.4799, allocations: 6.334 MB / 1.349 GB, free: 9.621 MB / 1.045 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=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 400] 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/jenkins1/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: 10.245993196003838]