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.0008969/0.0008969, allocations: 87.58 kB / 20.45 MB, free: 4.109 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.0009774/0.0009774, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9654/0.9654, allocations: 177.1 MB / 204.2 MB, free: 5.609 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.739/1.739, allocations: 377.8 MB / 0.6236 GB, free: 8.582 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.963e-06/1.963e-06, allocations: 0 / 0.8116 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.895e-05/3.092e-05, allocations: 4.984 kB / 0.8116 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.002995/0.003025, allocations: 2.122 MB / 0.8137 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00257/0.005595, allocations: 2.572 MB / 0.8162 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.00572, allocations: 0.7188 kB / 0.8162 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001214/0.006934, allocations: 481.3 kB / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001306/0.007065, allocations: 73.78 kB / 0.8167 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006994/0.007764, allocations: 286.6 kB / 0.817 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003428/0.008107, allocations: 330.2 kB / 0.8173 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.008241, allocations: 49.25 kB / 0.8173 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.008419, allocations: 156.5 kB / 0.8175 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.008547, allocations: 107.7 kB / 0.8176 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.008571, allocations: 11.94 kB / 0.8176 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004254/0.008997, allocations: 331.9 kB / 0.8179 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.75e-05/0.009094, allocations: 116 kB / 0.818 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.62e-05/0.00919, allocations: 96.17 kB / 0.8181 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006423/0.009832, allocations: 0.6035 MB / 0.8187 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.009837, allocations: 1.156 kB / 0.8187 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.653e-06/0.009839, allocations: 0 / 0.8187 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.009846, allocations: 0 / 0.8187 GB, free: 10.41 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.0009098/0.01076, allocations: 0.9985 MB / 0.8197 GB, free: 9.367 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.0108, allocations: 12.03 kB / 0.8197 GB, free: 9.355 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.036e-05/0.01089, allocations: 74.59 kB / 0.8198 GB, free: 9.285 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.01118, allocations: 341.2 kB / 0.8201 GB, free: 8.926 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.0112, allocations: 4.375 kB / 0.8201 GB, free: 8.922 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.01121, allocations: 8.375 kB / 0.8201 GB, free: 8.914 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.01139, allocations: 125.2 kB / 0.8202 GB, free: 8.777 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.0114, allocations: 4.75 kB / 0.8202 GB, free: 8.773 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.01141, allocations: 0 / 0.8202 GB, free: 8.773 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.01142, allocations: 0.9375 kB / 0.8202 GB, free: 8.773 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.619e-05/0.01149, allocations: 69.61 kB / 0.8203 GB, free: 8.699 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007423/0.01223, allocations: 0.6607 MB / 0.8209 GB, free: 8.004 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.01237, allocations: 80.75 kB / 0.821 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.293e-05/0.01242, allocations: 57.5 kB / 0.8211 GB, free: 7.84 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.883e-05/0.01247, allocations: 12.95 kB / 0.8211 GB, free: 7.828 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001559/0.01262, allocations: 136.5 kB / 0.8212 GB, free: 7.668 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 1.733e-06/0.01263, allocations: 5.031 kB / 0.8212 GB, free: 7.664 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0003169/0.01294, allocations: 274.4 kB / 0.8215 GB, free: 7.371 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.01298, allocations: 85.09 kB / 0.8216 GB, free: 7.27 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006077/0.01359, allocations: 0.8511 MB / 0.8224 GB, free: 6.402 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.01361, allocations: 25.7 kB / 0.8224 GB, free: 6.371 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000243/0.01385, allocations: 426.7 kB / 0.8228 GB, free: 5.949 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.01388, allocations: 27.75 kB / 0.8228 GB, free: 5.922 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-05/0.01392, allocations: 35.36 kB / 0.8229 GB, free: 5.879 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.01403, allocations: 488.4 kB / 0.8233 GB, free: 5.395 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.526e-05/0.01407, allocations: 49.69 kB / 0.8234 GB, free: 5.34 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.887e-05/0.01411, allocations: 45.69 kB / 0.8234 GB, free: 5.289 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.47e-05/0.0142, allocations: 115 kB / 0.8235 GB, free: 5.16 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.0142, allocations: 0 / 0.8235 GB, free: 5.16 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001912/0.01439, allocations: 229.1 kB / 0.8238 GB, free: 4.918 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.259e-05/0.01442, allocations: 42.62 kB / 0.8238 GB, free: 4.871 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.01443, allocations: 0 / 0.8238 GB, free: 4.871 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.01444, allocations: 8.969 kB / 0.8238 GB, free: 4.863 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.606e-05/0.01451, allocations: 4 kB / 0.8238 GB, free: 4.859 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.01451, allocations: 4 kB / 0.8238 GB, free: 4.855 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.241e-05/0.01459, allocations: 5.125 kB / 0.8238 GB, free: 4.852 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.01461, allocations: 4 kB / 0.8238 GB, free: 4.848 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.0001224/0.01473, allocations: 203.3 kB / 0.824 GB, free: 4.633 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.712e-05/0.01478, allocations: 71.58 kB / 0.8241 GB, free: 4.562 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002456/0.01502, allocations: 246.4 kB / 0.8243 GB, free: 4.297 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.01503, allocations: 8.875 kB / 0.8243 GB, free: 4.289 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.01504, allocations: 0 / 0.8243 GB, free: 4.289 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.01504, allocations: 0.5938 kB / 0.8243 GB, free: 4.289 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003553/0.0154, allocations: 480.4 kB / 0.8248 GB, free: 3.785 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.0154, allocations: 5.625 kB / 0.8248 GB, free: 3.781 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.408e-05/0.01543, allocations: 11.92 kB / 0.8248 GB, free: 3.77 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.01544, allocations: 128 / 0.8248 GB, free: 3.77 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.01545, allocations: 12 kB / 0.8248 GB, free: 3.758 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.01545, allocations: 1 kB / 0.8248 GB, free: 3.758 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.01546, allocations: 3.938 kB / 0.8248 GB, free: 3.754 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.01568, allocations: 283.4 kB / 0.8251 GB, free: 3.441 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.848e-05/0.01575, allocations: 68.58 kB / 0.8252 GB, free: 3.375 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.42e-05/0.01578, allocations: 4 kB / 0.8252 GB, free: 3.371 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.71e-05/0.01584, allocations: 4 kB / 0.8252 GB, free: 3.367 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.482e-05/0.01589, allocations: 16.58 kB / 0.8252 GB, free: 3.352 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.0159, allocations: 4 kB / 0.8252 GB, free: 3.348 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003519/0.01625, allocations: 467.6 kB / 0.8256 GB, free: 2.898 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01625, allocations: 3.438 kB / 0.8256 GB, free: 2.898 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003039/0.01655, allocations: 127.8 kB / 0.8258 GB, free: 2.773 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.0003137/0.01686, allocations: 207 kB / 0.826 GB, free: 2.559 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001978/0.01706, allocations: 186.4 kB / 0.8261 GB, free: 2.348 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01706, allocations: 4 kB / 0.8261 GB, free: 2.344 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.21e-05/0.01714, allocations: 128.8 kB / 0.8263 GB, free: 2.195 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.0175, allocations: 136 kB / 0.8264 GB, free: 2.07 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.01875, allocations: 0.8845 MB / 0.8273 GB, free: 1.145 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.01886, allocations: 187.8 kB / 0.8274 GB, free: 0.9414 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.109e-05/0.01894, allocations: 21.94 kB / 0.8275 GB, free: 0.9219 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.401e-05/0.01897, allocations: 16.5 kB / 0.8275 GB, free: 0.9062 MB / 0.7761 GB Notification: Performance of SimCode: time 1.503e-06/0.01897, allocations: 4 kB / 0.8275 GB, free: 0.9023 MB / 0.7761 GB Notification: Performance of Templates: time 0.009218/0.02819, allocations: 6.081 MB / 0.8334 GB, free: 10.96 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: 4.913446260150522]