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.00142/0.00142, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001536/0.001536, allocations: 169 kB / 24.27 MB, free: 276 kB / 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.9435/0.9435, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.801/1.801, allocations: 377.8 MB / 0.6239 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 178] 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.022e-06/1.022e-06, allocations: 0 / 0.8116 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.127e-06/1.015e-05, allocations: 3.75 kB / 0.8116 GB, free: 2.02 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.002113/0.002123, allocations: 2.115 MB / 0.8136 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002339/0.004462, allocations: 2.553 MB / 0.8161 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.082e-05/0.004553, allocations: 11.88 kB / 0.8161 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0007873/0.00534, allocations: 469.4 kB / 0.8166 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.00545, allocations: 72.88 kB / 0.8166 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004912/0.005941, allocations: 281.9 kB / 0.8169 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002692/0.006211, allocations: 337.3 kB / 0.8172 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.004e-05/0.006301, allocations: 49.25 kB / 0.8173 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.006426, allocations: 155.5 kB / 0.8174 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.006539, allocations: 107.7 kB / 0.8175 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.006557, allocations: 8 kB / 0.8175 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003467/0.006904, allocations: 339.4 kB / 0.8179 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.115e-05/0.006985, allocations: 113.4 kB / 0.818 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.606e-05/0.007071, allocations: 99.59 kB / 0.8181 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005341/0.007605, allocations: 0.5996 MB / 0.8187 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.007607, allocations: 0 / 0.8187 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.21e-07/0.007608, allocations: 0 / 0.8187 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.007611, allocations: 0 / 0.8187 GB, free: 10.76 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.0007332/0.008345, allocations: 1.003 MB / 0.8196 GB, free: 9.715 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.491e-05/0.00837, allocations: 8.031 kB / 0.8196 GB, free: 9.707 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.389e-05/0.008443, allocations: 78.34 kB / 0.8197 GB, free: 9.633 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003077/0.008751, allocations: 333.2 kB / 0.82 GB, free: 9.281 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.008765, allocations: 4.375 kB / 0.82 GB, free: 9.277 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.008777, allocations: 12.38 kB / 0.8201 GB, free: 9.266 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.008911, allocations: 118.5 kB / 0.8202 GB, free: 9.137 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.008919, allocations: 3.938 kB / 0.8202 GB, free: 9.133 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.00893, allocations: 8 kB / 0.8202 GB, free: 9.125 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.008937, allocations: 3.984 kB / 0.8202 GB, free: 9.121 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.821e-05/0.009005, allocations: 62.41 kB / 0.8202 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005546/0.00956, allocations: 0.6595 MB / 0.8209 GB, free: 8.359 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.734e-05/0.009647, allocations: 85.44 kB / 0.821 GB, free: 8.258 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.381e-05/0.009691, allocations: 57.17 kB / 0.821 GB, free: 8.195 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.00972, allocations: 7.984 kB / 0.821 GB, free: 8.188 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000112/0.009832, allocations: 140.5 kB / 0.8212 GB, free: 8.023 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 1.403e-06/0.009833, allocations: 0 / 0.8212 GB, free: 8.023 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0003791/0.01021, allocations: 278.4 kB / 0.8214 GB, free: 7.727 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.01024, allocations: 85.09 kB / 0.8215 GB, free: 7.625 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006082/0.01085, allocations: 0.8433 MB / 0.8223 GB, free: 6.766 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.01087, allocations: 29.7 kB / 0.8224 GB, free: 6.73 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000234/0.0111, allocations: 426.7 kB / 0.8228 GB, free: 6.309 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.01112, allocations: 33.73 kB / 0.8228 GB, free: 6.277 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.72e-05/0.01116, allocations: 31.36 kB / 0.8228 GB, free: 6.238 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.296e-05/0.01125, allocations: 496.4 kB / 0.8233 GB, free: 5.746 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.941e-05/0.01129, allocations: 45.69 kB / 0.8233 GB, free: 5.695 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.301e-05/0.01133, allocations: 45.69 kB / 0.8234 GB, free: 5.645 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.923e-05/0.01141, allocations: 120.3 kB / 0.8235 GB, free: 5.512 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.01141, allocations: 0 / 0.8235 GB, free: 5.512 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001774/0.01158, allocations: 228.7 kB / 0.8237 GB, free: 5.27 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.01161, allocations: 42.81 kB / 0.8238 GB, free: 5.223 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.01161, allocations: 4.062 kB / 0.8238 GB, free: 5.219 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.267e-06/0.01162, allocations: 3.938 kB / 0.8238 GB, free: 5.215 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.643e-05/0.01167, allocations: 13.06 kB / 0.8238 GB, free: 5.203 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.586e-06/0.01167, allocations: 0 / 0.8238 GB, free: 5.203 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.165e-05/0.01173, allocations: 4 kB / 0.8238 GB, free: 5.199 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.01175, allocations: 5.031 kB / 0.8238 GB, free: 5.195 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.0001036/0.01185, allocations: 194.3 kB / 0.824 GB, free: 4.988 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.296e-05/0.01189, allocations: 76.45 kB / 0.8241 GB, free: 4.914 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000218/0.01211, allocations: 242.5 kB / 0.8243 GB, free: 4.652 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.01211, allocations: 8.438 kB / 0.8243 GB, free: 4.645 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.01212, allocations: 0 / 0.8243 GB, free: 4.645 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.01212, allocations: 1.438 kB / 0.8243 GB, free: 4.645 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003427/0.01246, allocations: 484.4 kB / 0.8248 GB, free: 4.137 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.01246, allocations: 0 / 0.8248 GB, free: 4.137 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.317e-05/0.01249, allocations: 8 kB / 0.8248 GB, free: 4.129 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.01249, allocations: 5.766 kB / 0.8248 GB, free: 4.125 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.0125, allocations: 7.984 kB / 0.8248 GB, free: 4.117 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.0125, allocations: 0 / 0.8248 GB, free: 4.117 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.0125, allocations: 3.938 kB / 0.8248 GB, free: 4.113 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004246/0.01293, allocations: 289.8 kB / 0.8251 GB, free: 3.797 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.237e-05/0.01299, allocations: 71.48 kB / 0.8251 GB, free: 3.727 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.176e-05/0.01302, allocations: 4 kB / 0.8251 GB, free: 3.723 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.269e-05/0.01307, allocations: 4 kB / 0.8251 GB, free: 3.719 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.261e-05/0.01311, allocations: 15.86 kB / 0.8251 GB, free: 3.703 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.01311, allocations: 4 kB / 0.8251 GB, free: 3.699 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003298/0.01344, allocations: 467 kB / 0.8256 GB, free: 3.25 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.01344, allocations: 1.844 kB / 0.8256 GB, free: 3.25 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002448/0.01369, allocations: 131.8 kB / 0.8257 GB, free: 3.121 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.0002289/0.01392, allocations: 199.1 kB / 0.8259 GB, free: 2.914 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001645/0.01408, allocations: 186.5 kB / 0.8261 GB, free: 2.703 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.92e-07/0.01408, allocations: 0 / 0.8261 GB, free: 2.703 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.817e-05/0.01416, allocations: 136.7 kB / 0.8262 GB, free: 2.547 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.01448, allocations: 140.4 kB / 0.8264 GB, free: 2.414 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.01553, allocations: 0.8845 MB / 0.8272 GB, free: 1.488 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.01563, allocations: 187.8 kB / 0.8274 GB, free: 1.285 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.753e-05/0.01569, allocations: 17.95 kB / 0.8274 GB, free: 1.27 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.467e-05/0.01571, allocations: 20.5 kB / 0.8274 GB, free: 1.25 MB / 0.7761 GB Notification: Performance of SimCode: time 6.31e-07/0.01571, allocations: 0 / 0.8274 GB, free: 1.25 MB / 0.7761 GB Notification: Performance of Templates: time 0.007628/0.02334, allocations: 5.611 MB / 0.8329 GB, free: 11.78 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.213710044045001]