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.0009528/0.0009528, allocations: 83.59 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.0009452/0.0009452, allocations: 169 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.8846/0.8846, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.714/1.714, allocations: 359 MB / 0.6052 GB, free: 11.02 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.473e-06/1.473e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.661e-05/2.808e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.002951/0.002979, allocations: 2.224 MB / 0.7893 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003066/0.006045, allocations: 2.752 MB / 0.792 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001544/0.0062, allocations: 0 / 0.792 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001255/0.007454, allocations: 0.4973 MB / 0.7925 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003606/0.007815, allocations: 176.7 kB / 0.7926 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005154/0.00833, allocations: 205 kB / 0.7928 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004509/0.008781, allocations: 403.2 kB / 0.7932 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.008901, allocations: 26.66 kB / 0.7932 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002343/0.009135, allocations: 183.4 kB / 0.7934 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/0.009296, allocations: 129.4 kB / 0.7935 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.009323, allocations: 8 kB / 0.7936 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.009485, allocations: 67.88 kB / 0.7936 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.009617, allocations: 139.4 kB / 0.7937 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.009724, allocations: 103.6 kB / 0.7938 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004833/0.01021, allocations: 431.1 kB / 0.7943 GB, free: 5.16 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.01021, allocations: 4 kB / 0.7943 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.492e-06/0.01022, allocations: 1.281 kB / 0.7943 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.01022, allocations: 0 / 0.7943 GB, free: 5.156 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.0009905/0.01121, allocations: 1.04 MB / 0.7953 GB, free: 4.07 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.01125, allocations: 12.88 kB / 0.7953 GB, free: 4.059 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.01135, allocations: 80.45 kB / 0.7954 GB, free: 3.98 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003505/0.0117, allocations: 378 kB / 0.7957 GB, free: 3.586 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.01172, allocations: 8.375 kB / 0.7957 GB, free: 3.578 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.01174, allocations: 9.828 kB / 0.7957 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.01191, allocations: 108.5 kB / 0.7959 GB, free: 3.449 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.01192, allocations: 3.938 kB / 0.7959 GB, free: 3.445 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.01193, allocations: 4 kB / 0.7959 GB, free: 3.441 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.01194, allocations: 1.281 kB / 0.7959 GB, free: 3.441 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.447e-05/0.01199, allocations: 27.98 kB / 0.7959 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006931/0.01269, allocations: 0.6518 MB / 0.7965 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/0.01293, allocations: 90.14 kB / 0.7966 GB, free: 2.629 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.8e-05/0.01297, allocations: 23.67 kB / 0.7966 GB, free: 2.602 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.01298, allocations: 4 kB / 0.7966 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001242/0.01311, allocations: 106.8 kB / 0.7967 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.01311, allocations: 0 / 0.7967 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002714/0.01338, allocations: 169.7 kB / 0.7969 GB, free: 2.301 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.01341, allocations: 57.33 kB / 0.797 GB, free: 2.234 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009229/0.01433, allocations: 0.9448 MB / 0.7979 GB, free: 1.27 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.01436, allocations: 33.7 kB / 0.7979 GB, free: 1.23 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002752/0.01463, allocations: 450.8 kB / 0.7983 GB, free: 0.7852 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.01466, allocations: 23.84 kB / 0.7984 GB, free: 0.7617 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.926e-05/0.0147, allocations: 28.22 kB / 0.7984 GB, free: 0.7266 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.01482, allocations: 492.4 kB / 0.7989 GB, free: 244 kB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.482e-05/0.01485, allocations: 16.59 kB / 0.7989 GB, free: 228 kB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.639e-05/0.01491, allocations: 80.67 kB / 0.7989 GB, free: 128 kB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.89e-05/0.01498, allocations: 62.92 kB / 0.799 GB, free: 60 kB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01498, allocations: 0 / 0.799 GB, free: 60 kB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001746/0.01515, allocations: 153.3 kB / 0.7992 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.01517, allocations: 4 kB / 0.7992 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.01517, allocations: 0 / 0.7992 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.01519, allocations: 0 / 0.7992 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.035e-05/0.01525, allocations: 15.98 kB / 0.7992 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.01525, allocations: 2.219 kB / 0.7992 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.612e-05/0.01533, allocations: 8 kB / 0.7992 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.01534, allocations: 4 kB / 0.7992 GB, free: 15.87 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.0001094/0.01545, allocations: 178.2 kB / 0.7994 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.661e-05/0.01549, allocations: 71.53 kB / 0.7994 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002022/0.01569, allocations: 153 kB / 0.7996 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.0157, allocations: 4 kB / 0.7996 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.0157, allocations: 5.109 kB / 0.7996 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.01571, allocations: 0 / 0.7996 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003838/0.01609, allocations: 0.4964 MB / 0.8001 GB, free: 14.92 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.01609, allocations: 1.125 kB / 0.8001 GB, free: 14.92 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.825e-05/0.01613, allocations: 15.98 kB / 0.8001 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.01613, allocations: 0 / 0.8001 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.01614, allocations: 1.031 kB / 0.8001 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.01614, allocations: 3.938 kB / 0.8001 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01615, allocations: 4 kB / 0.8001 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.01631, allocations: 196.4 kB / 0.8003 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.01637, allocations: 69.2 kB / 0.8003 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.456e-05/0.0164, allocations: 0 / 0.8003 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.91e-05/0.01647, allocations: 7.984 kB / 0.8004 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/0.01652, allocations: 11.98 kB / 0.8004 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.01654, allocations: 8.5 kB / 0.8004 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0004556/0.017, allocations: 0.5159 MB / 0.8009 GB, free: 14.08 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8.1e-08/0.017, allocations: 0 / 0.8009 GB, free: 14.08 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002237/0.01722, allocations: 63.92 kB / 0.8009 GB, free: 14.02 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.0009567/0.01818, allocations: 410.8 kB / 0.8013 GB, free: 13.76 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001537/0.01833, allocations: 55.66 kB / 0.8014 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01833, allocations: 0 / 0.8014 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 5.315e-05/0.01839, allocations: 39.61 kB / 0.8014 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004601/0.01885, allocations: 187.9 kB / 0.8016 GB, free: 13.47 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.02014, allocations: 0.9178 MB / 0.8025 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/0.02026, allocations: 192.2 kB / 0.8027 GB, free: 12.31 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001044/0.02037, allocations: 34.97 kB / 0.8027 GB, free: 12.27 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.279e-05/0.02042, allocations: 28.48 kB / 0.8027 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of SimCode: time 1.312e-06/0.02042, allocations: 0 / 0.8027 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of Templates: time 0.01041/0.03084, allocations: 6.811 MB / 0.8094 GB, free: 5.609 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.929668595083058]