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.00103/0.00103, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001105/0.001105, allocations: 165 kB / 23.82 MB, free: 0.7539 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 0.9598/0.9598, allocations: 177.1 MB / 204.2 MB, free: 5.199 MB / 186.7 MB " [Timeout remaining time 179] 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 1.941/1.941, allocations: 377.8 MB / 0.6236 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 177] 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 1.543e-06/1.543e-06, allocations: 0 / 0.8116 GB, free: 1.668 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.718e-05/2.872e-05, allocations: 5.406 kB / 0.8116 GB, free: 1.664 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.002803/0.002832, allocations: 2.12 MB / 0.8136 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002762/0.005594, allocations: 2.567 MB / 0.8161 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.005716, allocations: 4.656 kB / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.006723, allocations: 474 kB / 0.8166 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.006843, allocations: 78.95 kB / 0.8167 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006871/0.00753, allocations: 279.1 kB / 0.8169 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003489/0.007879, allocations: 339.5 kB / 0.8173 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.008017, allocations: 41.27 kB / 0.8173 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.008174, allocations: 152.2 kB / 0.8175 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001573/0.008332, allocations: 112.2 kB / 0.8176 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.759e-05/0.008359, allocations: 8 kB / 0.8176 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004431/0.008802, allocations: 340.6 kB / 0.8179 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.008908, allocations: 111.6 kB / 0.818 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.009014, allocations: 99.59 kB / 0.8181 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006627/0.009677, allocations: 0.6042 MB / 0.8187 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.009681, allocations: 0 / 0.8187 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.382e-06/0.009682, allocations: 0.5625 kB / 0.8187 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.00969, allocations: 2.031 kB / 0.8187 GB, free: 10.39 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.0009498/0.01064, allocations: 0.99 MB / 0.8197 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.01068, allocations: 15.97 kB / 0.8197 GB, free: 9.336 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.728e-05/0.01078, allocations: 76.47 kB / 0.8197 GB, free: 9.262 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003133/0.01109, allocations: 333.2 kB / 0.8201 GB, free: 8.91 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.01112, allocations: 12.89 kB / 0.8201 GB, free: 8.898 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.01113, allocations: 5.188 kB / 0.8201 GB, free: 8.895 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.01131, allocations: 127 kB / 0.8202 GB, free: 8.758 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.01132, allocations: 4.875 kB / 0.8202 GB, free: 8.754 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.01134, allocations: 4 kB / 0.8202 GB, free: 8.75 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.178e-06/0.01134, allocations: 7.938 kB / 0.8202 GB, free: 8.742 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.306e-05/0.01143, allocations: 62.98 kB / 0.8203 GB, free: 8.676 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007136/0.01214, allocations: 0.6634 MB / 0.8209 GB, free: 7.977 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.01226, allocations: 76.75 kB / 0.821 GB, free: 7.883 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.448e-05/0.01232, allocations: 58.48 kB / 0.8211 GB, free: 7.816 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.348e-05/0.01236, allocations: 8 kB / 0.8211 GB, free: 7.809 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001568/0.01252, allocations: 142.8 kB / 0.8212 GB, free: 7.645 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 2.094e-06/0.01252, allocations: 0 / 0.8212 GB, free: 7.645 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0003308/0.01285, allocations: 270.5 kB / 0.8215 GB, free: 7.355 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.01289, allocations: 85.11 kB / 0.8215 GB, free: 7.254 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006711/0.01356, allocations: 0.8511 MB / 0.8224 GB, free: 6.383 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.01358, allocations: 25.7 kB / 0.8224 GB, free: 6.352 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002669/0.01385, allocations: 431.5 kB / 0.8228 GB, free: 5.926 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.01388, allocations: 31.73 kB / 0.8228 GB, free: 5.895 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.962e-05/0.01393, allocations: 36.42 kB / 0.8229 GB, free: 5.852 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002577/0.01419, allocations: 488.4 kB / 0.8233 GB, free: 5.367 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.992e-05/0.01423, allocations: 45.69 kB / 0.8234 GB, free: 5.316 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.692e-05/0.01427, allocations: 50.69 kB / 0.8234 GB, free: 5.262 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.513e-05/0.01437, allocations: 107.1 kB / 0.8235 GB, free: 5.141 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.01437, allocations: 0 / 0.8235 GB, free: 5.141 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002297/0.0146, allocations: 238.2 kB / 0.8238 GB, free: 4.891 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.857e-05/0.01464, allocations: 41.69 kB / 0.8238 GB, free: 4.844 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.01464, allocations: 0 / 0.8238 GB, free: 4.844 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.01466, allocations: 4.875 kB / 0.8238 GB, free: 4.84 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.793e-05/0.01474, allocations: 11.98 kB / 0.8238 GB, free: 4.828 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.01475, allocations: 4.531 kB / 0.8238 GB, free: 4.824 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.852e-05/0.01483, allocations: 4 kB / 0.8238 GB, free: 4.82 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.01484, allocations: 4.5 kB / 0.8238 GB, free: 4.816 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.0001265/0.01497, allocations: 195.8 kB / 0.824 GB, free: 4.609 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.142e-05/0.01502, allocations: 67.58 kB / 0.8241 GB, free: 4.543 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002818/0.0153, allocations: 246.5 kB / 0.8243 GB, free: 4.277 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.01531, allocations: 8.828 kB / 0.8243 GB, free: 4.27 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.01531, allocations: 0 / 0.8243 GB, free: 4.27 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.01531, allocations: 0 / 0.8243 GB, free: 4.27 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003771/0.01569, allocations: 485.5 kB / 0.8248 GB, free: 3.762 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.01569, allocations: 4.062 kB / 0.8248 GB, free: 3.758 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.322e-05/0.01573, allocations: 8 kB / 0.8248 GB, free: 3.75 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.01573, allocations: 0.5625 kB / 0.8248 GB, free: 3.75 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.01574, allocations: 8.594 kB / 0.8248 GB, free: 3.742 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.01574, allocations: 0 / 0.8248 GB, free: 3.742 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.01575, allocations: 5.125 kB / 0.8248 GB, free: 3.738 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.01598, allocations: 291.4 kB / 0.8251 GB, free: 3.418 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.452e-05/0.01606, allocations: 63.53 kB / 0.8251 GB, free: 3.355 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.493e-05/0.01609, allocations: 15.95 kB / 0.8252 GB, free: 3.344 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.331e-05/0.01616, allocations: 4 kB / 0.8252 GB, free: 3.34 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.0162, allocations: 11.92 kB / 0.8252 GB, free: 3.328 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.01621, allocations: 8 kB / 0.8252 GB, free: 3.32 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003577/0.01657, allocations: 463 kB / 0.8256 GB, free: 2.875 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01657, allocations: 3.938 kB / 0.8256 GB, free: 2.871 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003105/0.01688, allocations: 131.8 kB / 0.8258 GB, free: 2.742 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.0003108/0.01719, allocations: 199.1 kB / 0.8259 GB, free: 2.535 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002011/0.01739, allocations: 190.4 kB / 0.8261 GB, free: 2.32 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.0174, allocations: 3.438 kB / 0.8261 GB, free: 2.32 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.586e-05/0.01747, allocations: 132.7 kB / 0.8263 GB, free: 2.168 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.01785, allocations: 126.4 kB / 0.8264 GB, free: 2.051 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.01913, allocations: 0.8923 MB / 0.8272 GB, free: 1.117 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.01926, allocations: 187.8 kB / 0.8274 GB, free: 0.9141 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.558e-05/0.01934, allocations: 13.95 kB / 0.8274 GB, free: 0.9023 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.608e-05/0.01938, allocations: 24.5 kB / 0.8275 GB, free: 0.8789 MB / 0.7761 GB Notification: Performance of SimCode: time 1.372e-06/0.01938, allocations: 0 / 0.8275 GB, free: 0.8789 MB / 0.7761 GB Notification: Performance of Templates: time 0.009615/0.02899, allocations: 5.613 MB / 0.8329 GB, free: 11.41 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.371819969266653]