Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001098/0.001098, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001794/0.001794, allocations: 169 kB / 23.02 MB, free: 1.551 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.9211/0.9211, allocations: 177.1 MB / 203.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.034/2.034, allocations: 429.5 MB / 0.6732 GB, free: 4.004 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/2.668e-05, allocations: 4.281 kB / 0.8782 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.002927/0.002954, allocations: 2.231 MB / 0.8804 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003106/0.00606, allocations: 2.759 MB / 0.8831 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002302/0.00629, allocations: 7.938 kB / 0.8831 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001346/0.007636, allocations: 0.4937 MB / 0.8836 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003384/0.007974, allocations: 171.1 kB / 0.8837 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004729/0.008447, allocations: 199.3 kB / 0.8839 GB, free: 436 kB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004547/0.008902, allocations: 417.3 kB / 0.8843 GB, free: 20 kB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.009051, allocations: 29.31 kB / 0.8843 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.009263, allocations: 171.5 kB / 0.8845 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/0.009459, allocations: 127.6 kB / 0.8846 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.248e-05/0.009492, allocations: 8 kB / 0.8846 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002088/0.009701, allocations: 79.81 kB / 0.8847 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001751/0.009876, allocations: 139.5 kB / 0.8848 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.009998, allocations: 107.5 kB / 0.8849 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005284/0.01053, allocations: 434.3 kB / 0.8854 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.01053, allocations: 0 / 0.8854 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.192e-06/0.01053, allocations: 0 / 0.8854 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.844e-06/0.01054, allocations: 0 / 0.8854 GB, free: 14.94 MB / 0.8542 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.001015/0.01155, allocations: 1.04 MB / 0.8864 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.01159, allocations: 8.031 kB / 0.8864 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.101e-05/0.01168, allocations: 76.47 kB / 0.8865 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003615/0.01204, allocations: 381 kB / 0.8868 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.01206, allocations: 4.375 kB / 0.8868 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.01208, allocations: 12.38 kB / 0.8868 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.01226, allocations: 153.7 kB / 0.887 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.01227, allocations: 3.938 kB / 0.887 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.01228, allocations: 0 / 0.887 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.01229, allocations: 0 / 0.887 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.831e-05/0.01234, allocations: 39.84 kB / 0.887 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006344/0.01298, allocations: 0.6558 MB / 0.8877 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.01319, allocations: 91.05 kB / 0.8878 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.966e-05/0.01323, allocations: 31.67 kB / 0.8878 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.01325, allocations: 0 / 0.8878 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001119/0.01336, allocations: 102.7 kB / 0.8879 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.01336, allocations: 0 / 0.8879 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0002666/0.01363, allocations: 173.1 kB / 0.888 GB, free: 12.01 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.01367, allocations: 77.11 kB / 0.8881 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007544/0.01442, allocations: 0.9409 MB / 0.889 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.01444, allocations: 33.7 kB / 0.8891 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002804/0.01472, allocations: 458.7 kB / 0.8895 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/0.01474, allocations: 19.84 kB / 0.8895 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.191e-05/0.01479, allocations: 39.36 kB / 0.8896 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.0149, allocations: 484.4 kB / 0.89 GB, free: 9.918 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.43e-05/0.01494, allocations: 19.98 kB / 0.89 GB, free: 9.898 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.588e-05/0.015, allocations: 110.1 kB / 0.8902 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.856e-05/0.01507, allocations: 55.23 kB / 0.8902 GB, free: 9.699 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01507, allocations: 4 kB / 0.8902 GB, free: 9.695 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001675/0.01524, allocations: 153.1 kB / 0.8904 GB, free: 9.539 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.01526, allocations: 4 kB / 0.8904 GB, free: 9.535 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.01526, allocations: 12.06 kB / 0.8904 GB, free: 9.523 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.01528, allocations: 0 / 0.8904 GB, free: 9.523 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.677e-05/0.01533, allocations: 12 kB / 0.8904 GB, free: 9.512 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.01534, allocations: 0 / 0.8904 GB, free: 9.512 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.223e-05/0.01541, allocations: 11.94 kB / 0.8904 GB, free: 9.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.01542, allocations: 4 kB / 0.8904 GB, free: 9.496 MB / 0.8542 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.0001151/0.01553, allocations: 164.5 kB / 0.8906 GB, free: 9.324 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.021e-05/0.01558, allocations: 71.53 kB / 0.8906 GB, free: 9.254 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002017/0.01579, allocations: 152.5 kB / 0.8908 GB, free: 9.094 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.01579, allocations: 8 kB / 0.8908 GB, free: 9.086 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.01579, allocations: 0 / 0.8908 GB, free: 9.086 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.0158, allocations: 0 / 0.8908 GB, free: 9.086 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000428/0.01623, allocations: 0.5081 MB / 0.8913 GB, free: 8.543 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.01623, allocations: 3.938 kB / 0.8913 GB, free: 8.539 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.535e-05/0.01626, allocations: 8 kB / 0.8913 GB, free: 8.531 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.01626, allocations: 0 / 0.8913 GB, free: 8.531 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.01627, allocations: 0 / 0.8913 GB, free: 8.531 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.01628, allocations: 0 / 0.8913 GB, free: 8.531 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01628, allocations: 0 / 0.8913 GB, free: 8.531 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.01645, allocations: 207.9 kB / 0.8915 GB, free: 8.305 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.693e-05/0.01651, allocations: 67.53 kB / 0.8915 GB, free: 8.238 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.01654, allocations: 0 / 0.8915 GB, free: 8.238 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.525e-05/0.0166, allocations: 11.98 kB / 0.8916 GB, free: 8.227 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/0.01665, allocations: 7.984 kB / 0.8916 GB, free: 8.219 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.01667, allocations: 8 kB / 0.8916 GB, free: 8.211 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004484/0.01712, allocations: 0.5185 MB / 0.8921 GB, free: 7.699 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.01712, allocations: 0 / 0.8921 GB, free: 7.699 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001978/0.01731, allocations: 63.89 kB / 0.8921 GB, free: 7.637 MB / 0.8542 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.0009566/0.01827, allocations: 401.6 kB / 0.8925 GB, free: 7.379 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001425/0.01841, allocations: 55.59 kB / 0.8926 GB, free: 7.32 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.01841, allocations: 0 / 0.8926 GB, free: 7.32 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.254e-05/0.01849, allocations: 39.66 kB / 0.8926 GB, free: 7.277 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.01892, allocations: 183.6 kB / 0.8928 GB, free: 7.102 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.02016, allocations: 0.914 MB / 0.8937 GB, free: 6.152 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.02029, allocations: 192.5 kB / 0.8939 GB, free: 5.945 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.619e-05/0.02037, allocations: 43.25 kB / 0.8939 GB, free: 5.902 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.81e-05/0.02042, allocations: 32.5 kB / 0.8939 GB, free: 5.871 MB / 0.8542 GB Notification: Performance of SimCode: time 8.22e-07/0.02042, allocations: 4 kB / 0.8939 GB, free: 5.867 MB / 0.8542 GB Notification: Performance of Templates: time 0.008976/0.0294, allocations: 6.424 MB / 0.9002 GB, free: 15.6 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.504960848018527]