Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.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.001136/0.001136, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.001232/0.001232, allocations: 181 kB / 24.09 MB, free: 416 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.9209/0.9209, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.713/1.713, allocations: 359 MB / 0.6055 GB, free: 10.86 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.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.7876 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.57e-05/1.726e-05, allocations: 4.844 kB / 0.7876 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.002817/0.002834, allocations: 2.196 MB / 0.7897 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002511/0.005345, allocations: 2.697 MB / 0.7924 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.005458, allocations: 0 / 0.7924 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0009589/0.006417, allocations: 0.4898 MB / 0.7929 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002469/0.006664, allocations: 168.2 kB / 0.793 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003535/0.007018, allocations: 212.8 kB / 0.7932 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.00033/0.007348, allocations: 407.6 kB / 0.7936 GB, free: 6 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.652e-05/0.007444, allocations: 29.27 kB / 0.7936 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.007616, allocations: 184.4 kB / 0.7938 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.007745, allocations: 120.2 kB / 0.7939 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.007768, allocations: 12.62 kB / 0.7939 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.007904, allocations: 71.88 kB / 0.794 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.008021, allocations: 140 kB / 0.7941 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.743e-05/0.008108, allocations: 103.5 kB / 0.7942 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000379/0.008487, allocations: 435.6 kB / 0.7947 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.008489, allocations: 0 / 0.7947 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.41e-07/0.008489, allocations: 0 / 0.7947 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.008493, allocations: 0.5312 kB / 0.7947 GB, free: 4.926 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008313/0.009325, allocations: 1.034 MB / 0.7957 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.009362, allocations: 8.031 kB / 0.7957 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.518e-05/0.009428, allocations: 84.45 kB / 0.7958 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.009712, allocations: 374.2 kB / 0.7961 GB, free: 3.367 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.009729, allocations: 4.375 kB / 0.7961 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.009741, allocations: 4.359 kB / 0.7961 GB, free: 3.359 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.009885, allocations: 101.7 kB / 0.7962 GB, free: 3.246 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.009892, allocations: 11.88 kB / 0.7962 GB, free: 3.234 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.009902, allocations: 4 kB / 0.7962 GB, free: 3.23 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.009906, allocations: 4.75 kB / 0.7962 GB, free: 3.227 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.52e-05/0.009942, allocations: 15.98 kB / 0.7963 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004428/0.01038, allocations: 481 kB / 0.7967 GB, free: 2.715 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.01055, allocations: 72.53 kB / 0.7968 GB, free: 2.633 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.941e-05/0.01058, allocations: 27.61 kB / 0.7968 GB, free: 2.602 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.01059, allocations: 0 / 0.7968 GB, free: 2.602 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001011/0.01069, allocations: 99.61 kB / 0.7969 GB, free: 2.484 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 3.026e-06/0.01069, allocations: 2.062 kB / 0.7969 GB, free: 2.484 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002211/0.01091, allocations: 161.1 kB / 0.7971 GB, free: 2.32 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.01094, allocations: 51.41 kB / 0.7971 GB, free: 2.258 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006744/0.01162, allocations: 0.9131 MB / 0.798 GB, free: 1.324 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.01164, allocations: 33.7 kB / 0.798 GB, free: 1.285 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002699/0.01191, allocations: 455.3 kB / 0.7985 GB, free: 0.8359 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.01193, allocations: 15.86 kB / 0.7985 GB, free: 0.8203 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.01196, allocations: 38.78 kB / 0.7985 GB, free: 0.7773 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.01207, allocations: 488.4 kB / 0.799 GB, free: 300 kB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.102e-05/0.0121, allocations: 11.98 kB / 0.799 GB, free: 288 kB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.449e-05/0.01214, allocations: 68.73 kB / 0.7991 GB, free: 200 kB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.034e-05/0.01219, allocations: 47.61 kB / 0.7991 GB, free: 144 kB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.01219, allocations: 0 / 0.7991 GB, free: 144 kB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000142/0.01233, allocations: 149.1 kB / 0.7992 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.01235, allocations: 8.531 kB / 0.7993 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.01235, allocations: 0.5625 kB / 0.7993 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.01236, allocations: 0 / 0.7993 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.962e-05/0.01241, allocations: 21.27 kB / 0.7993 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.01241, allocations: 0 / 0.7993 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.13e-05/0.01247, allocations: 4 kB / 0.7993 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.01248, allocations: 4.656 kB / 0.7993 GB, free: 15.95 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.sta.combiTimeTable.nextTimeEvent,$whenCondition1,sta.combiTimeTable.nextTimeEventScaled,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent,sta.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001008/0.01258, allocations: 166.5 kB / 0.7994 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.63e-05/0.01263, allocations: 80.11 kB / 0.7995 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001721/0.0128, allocations: 144.7 kB / 0.7997 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.0128, allocations: 6.344 kB / 0.7997 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.0128, allocations: 0 / 0.7997 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.01281, allocations: 0 / 0.7997 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002459/0.01305, allocations: 329 kB / 0.8 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.01305, allocations: 0 / 0.8 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.791e-05/0.01308, allocations: 11.98 kB / 0.8 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.01308, allocations: 3.938 kB / 0.8 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-06/0.01309, allocations: 6.938 kB / 0.8 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.01309, allocations: 4 kB / 0.8 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.01309, allocations: 0 / 0.8 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.01323, allocations: 187.9 kB / 0.8002 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.04e-05/0.01328, allocations: 71.5 kB / 0.8002 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.01331, allocations: 3.938 kB / 0.8003 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.331e-05/0.01336, allocations: 0 / 0.8003 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.0134, allocations: 12.92 kB / 0.8003 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.01341, allocations: 7.984 kB / 0.8003 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003097/0.01372, allocations: 494.8 kB / 0.8007 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.01372, allocations: 1.094 kB / 0.8007 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0001812/0.0139, allocations: 59.94 kB / 0.8008 GB, free: 14.34 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: 4 ($whenCondition1,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008331/0.01474, allocations: 398.8 kB / 0.8012 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001048/0.01484, allocations: 55.58 kB / 0.8012 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.01484, allocations: 4 kB / 0.8012 GB, free: 14.03 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 3.742e-05/0.01488, allocations: 27.83 kB / 0.8013 GB, free: 14 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.01526, allocations: 173.5 kB / 0.8014 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.01632, allocations: 0.9295 MB / 0.8023 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.01644, allocations: 188.2 kB / 0.8025 GB, free: 12.66 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 8.895e-05/0.01653, allocations: 38.95 kB / 0.8026 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002082/0.01674, allocations: 182.1 kB / 0.8027 GB, free: 12.44 MB / 0.7605 GB Notification: Performance of SimCode: time 7.61e-07/0.01674, allocations: 3.938 kB / 0.8027 GB, free: 12.44 MB / 0.7605 GB Notification: Performance of Templates: time 0.00878/0.02552, allocations: 6.888 MB / 0.8095 GB, free: 5.742 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.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.848062868230045]