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.0008966/0.0008966, 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.0009461/0.0009461, allocations: 173 kB / 23.03 MB, free: 1.543 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.8775/0.8775, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.014/2.014, allocations: 429.5 MB / 0.6732 GB, free: 4.047 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.433e-06/1.433e-06, allocations: 0 / 0.8782 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.536e-05/1.679e-05, allocations: 9.062 kB / 0.8782 GB, free: 6.266 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.002373/0.00239, allocations: 2.227 MB / 0.8804 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002289/0.00468, allocations: 2.752 MB / 0.8831 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.458e-05/0.004764, allocations: 5.094 kB / 0.8831 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0008818/0.005646, allocations: 0.507 MB / 0.8836 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002278/0.005874, allocations: 171.1 kB / 0.8837 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005462/0.00642, allocations: 204.1 kB / 0.8839 GB, free: 432 kB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003064/0.006726, allocations: 402.6 kB / 0.8843 GB, free: 32 kB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.006829, allocations: 33.31 kB / 0.8843 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.006988, allocations: 183.3 kB / 0.8845 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.007113, allocations: 123.7 kB / 0.8846 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.497e-05/0.007138, allocations: 12 kB / 0.8847 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.007257, allocations: 67.88 kB / 0.8847 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.007371, allocations: 143.4 kB / 0.8849 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 9.404e-05/0.007465, allocations: 103.6 kB / 0.885 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003605/0.007825, allocations: 430.3 kB / 0.8854 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.007831, allocations: 0 / 0.8854 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.31e-07/0.007831, allocations: 0 / 0.8854 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.007837, allocations: 0 / 0.8854 GB, free: 14.95 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.0008069/0.008643, allocations: 1.044 MB / 0.8864 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.008675, allocations: 11.97 kB / 0.8864 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.538e-05/0.00875, allocations: 80.47 kB / 0.8865 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/0.00905, allocations: 377 kB / 0.8868 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.00907, allocations: 8.375 kB / 0.8868 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.009081, allocations: 8.312 kB / 0.8868 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.00922, allocations: 96.62 kB / 0.8869 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.009228, allocations: 11.92 kB / 0.8869 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.009239, allocations: 4 kB / 0.887 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.009245, allocations: 0 / 0.887 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.92e-05/0.009294, allocations: 27.98 kB / 0.887 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005775/0.009872, allocations: 0.6518 MB / 0.8876 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.01007, allocations: 91.08 kB / 0.8877 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.152e-05/0.0101, allocations: 15.69 kB / 0.8877 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.01011, allocations: 8 kB / 0.8877 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001077/0.01022, allocations: 106.8 kB / 0.8878 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.01022, allocations: 0 / 0.8878 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0002204/0.01044, allocations: 177.2 kB / 0.888 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.01047, allocations: 51.41 kB / 0.888 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007145/0.01118, allocations: 0.9487 MB / 0.889 GB, free: 11.06 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.0112, allocations: 29.7 kB / 0.889 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002632/0.01146, allocations: 458.8 kB / 0.8894 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/0.01148, allocations: 15.89 kB / 0.8895 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.01151, allocations: 31.31 kB / 0.8895 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.695e-05/0.01161, allocations: 496.4 kB / 0.89 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.749e-05/0.01164, allocations: 8 kB / 0.89 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.157e-05/0.01169, allocations: 72.75 kB / 0.89 GB, free: 9.926 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.911e-05/0.01176, allocations: 67.27 kB / 0.8901 GB, free: 9.852 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.01176, allocations: 0 / 0.8901 GB, free: 9.852 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001361/0.0119, allocations: 153.1 kB / 0.8902 GB, free: 9.695 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.01191, allocations: 8 kB / 0.8903 GB, free: 9.688 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.01191, allocations: 0 / 0.8903 GB, free: 9.688 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.01192, allocations: 0 / 0.8903 GB, free: 9.688 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.023e-05/0.01197, allocations: 15.98 kB / 0.8903 GB, free: 9.672 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.01198, allocations: 3.938 kB / 0.8903 GB, free: 9.668 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.589e-05/0.01204, allocations: 11.95 kB / 0.8903 GB, free: 9.656 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.01205, allocations: 4.031 kB / 0.8903 GB, free: 9.652 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 9.472e-05/0.01214, allocations: 178.3 kB / 0.8905 GB, free: 9.469 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.464e-05/0.01219, allocations: 71.53 kB / 0.8905 GB, free: 9.398 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001705/0.01236, allocations: 148.5 kB / 0.8907 GB, free: 9.242 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.01236, allocations: 0 / 0.8907 GB, free: 9.242 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.01236, allocations: 0 / 0.8907 GB, free: 9.242 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.01237, allocations: 4 kB / 0.8907 GB, free: 9.238 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006204/0.01299, allocations: 0.4965 MB / 0.8912 GB, free: 8.707 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01299, allocations: 0 / 0.8912 GB, free: 8.707 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.073e-05/0.01302, allocations: 11.94 kB / 0.8912 GB, free: 8.695 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.01302, allocations: 8 kB / 0.8912 GB, free: 8.688 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.01303, allocations: 3.984 kB / 0.8912 GB, free: 8.684 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.01303, allocations: 0 / 0.8912 GB, free: 8.684 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.01303, allocations: 0 / 0.8912 GB, free: 8.684 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.01318, allocations: 207.9 kB / 0.8914 GB, free: 8.457 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.029e-05/0.01323, allocations: 71.5 kB / 0.8914 GB, free: 8.387 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.006e-05/0.01326, allocations: 0 / 0.8914 GB, free: 8.387 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.685e-05/0.01332, allocations: 4 kB / 0.8914 GB, free: 8.383 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.01336, allocations: 11.98 kB / 0.8915 GB, free: 8.371 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.01338, allocations: 3.984 kB / 0.8915 GB, free: 8.367 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003824/0.01376, allocations: 0.5146 MB / 0.892 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01376, allocations: 4 kB / 0.892 GB, free: 7.855 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001811/0.01394, allocations: 67.86 kB / 0.892 GB, free: 7.789 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.0007999/0.01474, allocations: 405.7 kB / 0.8924 GB, free: 7.527 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001326/0.01487, allocations: 59.66 kB / 0.8925 GB, free: 7.465 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.01487, allocations: 0 / 0.8925 GB, free: 7.465 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.825e-05/0.01492, allocations: 43.59 kB / 0.8925 GB, free: 7.418 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.01532, allocations: 169.9 kB / 0.8927 GB, free: 7.254 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.01643, allocations: 0.9141 MB / 0.8936 GB, free: 6.305 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.01654, allocations: 192.2 kB / 0.8938 GB, free: 6.098 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.997e-05/0.01662, allocations: 47.25 kB / 0.8938 GB, free: 6.051 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.046e-05/0.01667, allocations: 28.48 kB / 0.8938 GB, free: 6.023 MB / 0.8542 GB Notification: Performance of SimCode: time 6.21e-07/0.01667, allocations: 0 / 0.8938 GB, free: 6.023 MB / 0.8542 GB Notification: Performance of Templates: time 0.008912/0.02559, allocations: 6.811 MB / 0.9005 GB, free: 15.37 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.252732029184699]