Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001306/0.001306, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.00148/0.00148, allocations: 168.6 kB / 24.86 MB, free: 9.289 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.9946/0.9946, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.841/1.841, allocations: 359 MB / 0.6063 GB, free: 10.9 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.043e-06/2.043e-06, allocations: 0 / 0.7883 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.559e-05/2.763e-05, allocations: 4.844 kB / 0.7883 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.002907/0.002934, allocations: 2.099 MB / 0.7904 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00289/0.005824, allocations: 2.513 MB / 0.7928 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.005951, allocations: 1.031 kB / 0.7928 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.006958, allocations: 480.8 kB / 0.7933 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000125/0.007083, allocations: 74.12 kB / 0.7934 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007147/0.007797, allocations: 284.4 kB / 0.7936 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003565/0.008154, allocations: 338.7 kB / 0.794 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.00829, allocations: 41.27 kB / 0.794 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000186/0.008476, allocations: 156.1 kB / 0.7942 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000331/0.008807, allocations: 108.9 kB / 0.7943 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.913e-05/0.008836, allocations: 8 kB / 0.7943 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004425/0.009278, allocations: 335.4 kB / 0.7946 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.009382, allocations: 112.5 kB / 0.7947 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.00949, allocations: 103.6 kB / 0.7948 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006245/0.01011, allocations: 0.6034 MB / 0.7954 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.01012, allocations: 1 kB / 0.7954 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.333e-06/0.01012, allocations: 0 / 0.7954 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.01013, allocations: 0 / 0.7954 GB, free: 4.969 MB / 0.7448 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.0008849/0.01101, allocations: 0.9984 MB / 0.7964 GB, free: 3.926 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.01105, allocations: 17 kB / 0.7964 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.203e-05/0.01112, allocations: 76.47 kB / 0.7965 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.01142, allocations: 333.2 kB / 0.7968 GB, free: 3.484 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.01144, allocations: 9.5 kB / 0.7968 GB, free: 3.477 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.01145, allocations: 8.375 kB / 0.7968 GB, free: 3.469 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.0116, allocations: 109.2 kB / 0.7969 GB, free: 3.348 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.01161, allocations: 4.781 kB / 0.7969 GB, free: 3.344 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.01163, allocations: 8 kB / 0.7969 GB, free: 3.336 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.01163, allocations: 2.219 kB / 0.7969 GB, free: 3.336 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.236e-05/0.01169, allocations: 63.27 kB / 0.797 GB, free: 3.27 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004951/0.01219, allocations: 491.9 kB / 0.7974 GB, free: 2.762 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.49e-05/0.01227, allocations: 80.67 kB / 0.7975 GB, free: 2.664 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.605e-05/0.01231, allocations: 57.52 kB / 0.7976 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.01234, allocations: 10.8 kB / 0.7976 GB, free: 2.59 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001178/0.01245, allocations: 128.4 kB / 0.7977 GB, free: 2.438 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.392e-06/0.01246, allocations: 4 kB / 0.7977 GB, free: 2.434 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0002737/0.01273, allocations: 262.3 kB / 0.798 GB, free: 2.152 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.01277, allocations: 93.22 kB / 0.798 GB, free: 2.043 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005535/0.01332, allocations: 0.8234 MB / 0.7988 GB, free: 1.199 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.01334, allocations: 25.7 kB / 0.7989 GB, free: 1.168 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002738/0.01361, allocations: 428.1 kB / 0.7993 GB, free: 0.7461 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.107e-05/0.01364, allocations: 31.73 kB / 0.7993 GB, free: 0.7148 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.827e-05/0.01369, allocations: 35.34 kB / 0.7993 GB, free: 0.6719 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.01381, allocations: 488.4 kB / 0.7998 GB, free: 192 kB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.695e-05/0.01385, allocations: 42.31 kB / 0.7999 GB, free: 144 kB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.201e-05/0.01388, allocations: 42.02 kB / 0.7999 GB, free: 96 kB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.208e-05/0.01397, allocations: 107.7 kB / 0.8 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.01397, allocations: 4.5 kB / 0.8 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001823/0.01416, allocations: 232.6 kB / 0.8002 GB, free: 15.72 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.948e-05/0.0142, allocations: 42.75 kB / 0.8003 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.0142, allocations: 0 / 0.8003 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.695e-06/0.01421, allocations: 1.156 kB / 0.8003 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.853e-05/0.01426, allocations: 12 kB / 0.8003 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.01426, allocations: 3.938 kB / 0.8003 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.014e-05/0.01433, allocations: 4.656 kB / 0.8003 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.01434, allocations: 7.984 kB / 0.8003 GB, free: 15.65 MB / 0.7605 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.0001393/0.01448, allocations: 205.1 kB / 0.8005 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.571e-05/0.01453, allocations: 67.58 kB / 0.8005 GB, free: 15.37 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002261/0.01476, allocations: 234.4 kB / 0.8008 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.01476, allocations: 4 kB / 0.8008 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.01476, allocations: 3.938 kB / 0.8008 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.01476, allocations: 0 / 0.8008 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/0.015, allocations: 313 kB / 0.8011 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.015, allocations: 0 / 0.8011 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.115e-05/0.01502, allocations: 8 kB / 0.8011 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.01503, allocations: 3.984 kB / 0.8011 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.01504, allocations: 4 kB / 0.8011 GB, free: 14.76 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.01504, allocations: 4 kB / 0.8011 GB, free: 14.76 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01504, allocations: 0 / 0.8011 GB, free: 14.76 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004348/0.01547, allocations: 288.1 kB / 0.8014 GB, free: 14.44 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.65e-05/0.01554, allocations: 67.55 kB / 0.8014 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.849e-05/0.01557, allocations: 4.969 kB / 0.8014 GB, free: 14.37 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.452e-05/0.01562, allocations: 4 kB / 0.8014 GB, free: 14.37 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.01566, allocations: 7.984 kB / 0.8015 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.01567, allocations: 9.125 kB / 0.8015 GB, free: 14.35 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002709/0.01594, allocations: 446.9 kB / 0.8019 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.01594, allocations: 0 / 0.8019 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002972/0.01624, allocations: 136.7 kB / 0.802 GB, free: 13.79 MB / 0.7605 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.000289/0.01653, allocations: 200.1 kB / 0.8022 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001653/0.01669, allocations: 186.4 kB / 0.8024 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01669, allocations: 0.5 kB / 0.8024 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 6.635e-05/0.01676, allocations: 128.8 kB / 0.8025 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.01711, allocations: 127.2 kB / 0.8026 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.01822, allocations: 0.8845 MB / 0.8035 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/0.01834, allocations: 183.8 kB / 0.8037 GB, free: 11.98 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 6.916e-05/0.01841, allocations: 21.94 kB / 0.8037 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001784/0.01859, allocations: 166.1 kB / 0.8038 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of SimCode: time 7.72e-07/0.01859, allocations: 4 kB / 0.8039 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of Templates: time 0.009418/0.02801, allocations: 6.189 MB / 0.8099 GB, free: 5.742 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.256486278027296]