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.001031/0.001031, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.0009861/0.0009861, allocations: 169.7 kB / 23.28 MB, free: 1.219 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 1.131/1.131, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.54/2.54, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 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 2.004e-06/2.004e-06, allocations: 0 / 0.8898 GB, free: 9.695 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.062e-05/2.262e-05, allocations: 5.547 kB / 0.8898 GB, free: 9.691 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.002918/0.002941, allocations: 2.204 MB / 0.8919 GB, free: 7.469 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002711/0.005651, allocations: 2.694 MB / 0.8946 GB, free: 4.762 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.005779, allocations: 4 kB / 0.8946 GB, free: 4.758 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001283/0.007062, allocations: 0.4935 MB / 0.8951 GB, free: 4.262 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002535/0.007316, allocations: 167.1 kB / 0.8952 GB, free: 4.098 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003992/0.007715, allocations: 219.2 kB / 0.8954 GB, free: 3.883 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003756/0.00809, allocations: 397.5 kB / 0.8958 GB, free: 3.496 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.008201, allocations: 33.25 kB / 0.8958 GB, free: 3.461 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.008402, allocations: 187.5 kB / 0.896 GB, free: 3.277 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.00855, allocations: 123.6 kB / 0.8961 GB, free: 3.156 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.83e-05/0.008578, allocations: 8 kB / 0.8961 GB, free: 3.148 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.008725, allocations: 75.88 kB / 0.8962 GB, free: 3.074 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.008862, allocations: 135.5 kB / 0.8963 GB, free: 2.941 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.008964, allocations: 107.5 kB / 0.8964 GB, free: 2.836 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004432/0.009407, allocations: 430.3 kB / 0.8969 GB, free: 2.414 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.00941, allocations: 0 / 0.8969 GB, free: 2.414 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.72e-07/0.009411, allocations: 0 / 0.8969 GB, free: 2.414 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.009415, allocations: 0 / 0.8969 GB, free: 2.414 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.0009482/0.01036, allocations: 1.036 MB / 0.8979 GB, free: 1.332 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.01041, allocations: 12.02 kB / 0.8979 GB, free: 1.32 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.251e-05/0.01048, allocations: 76.47 kB / 0.8979 GB, free: 1.246 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003182/0.0108, allocations: 377 kB / 0.8983 GB, free: 0.8516 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.01082, allocations: 12.31 kB / 0.8983 GB, free: 0.8398 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.01083, allocations: 8.375 kB / 0.8983 GB, free: 0.832 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.01098, allocations: 100.6 kB / 0.8984 GB, free: 0.7188 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.01099, allocations: 3.938 kB / 0.8984 GB, free: 0.7148 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.011, allocations: 0 / 0.8984 GB, free: 0.7148 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.01101, allocations: 4 kB / 0.8984 GB, free: 0.7109 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.173e-05/0.01105, allocations: 19.98 kB / 0.8984 GB, free: 0.6914 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000492/0.01154, allocations: 472.1 kB / 0.8989 GB, free: 208 kB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.01172, allocations: 75.17 kB / 0.899 GB, free: 120 kB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.887e-05/0.01175, allocations: 23.61 kB / 0.899 GB, free: 92 kB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.01177, allocations: 4 kB / 0.899 GB, free: 88 kB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001315/0.0119, allocations: 98.73 kB / 0.8991 GB, free: 15.97 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.0119, allocations: 4 kB / 0.8991 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0002178/0.01212, allocations: 161.1 kB / 0.8992 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.01215, allocations: 51.41 kB / 0.8993 GB, free: 15.74 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007016/0.01285, allocations: 0.9131 MB / 0.9002 GB, free: 14.81 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.01287, allocations: 29.7 kB / 0.9002 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003132/0.01319, allocations: 458.6 kB / 0.9007 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/0.01322, allocations: 15.91 kB / 0.9007 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/0.01326, allocations: 35.34 kB / 0.9007 GB, free: 14.26 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.0134, allocations: 484.4 kB / 0.9012 GB, free: 13.78 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.319e-05/0.01343, allocations: 11.98 kB / 0.9012 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.414e-05/0.01348, allocations: 72.69 kB / 0.9012 GB, free: 13.68 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.49e-05/0.01354, allocations: 43.34 kB / 0.9013 GB, free: 13.63 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.01355, allocations: 0 / 0.9013 GB, free: 13.63 MB / 0.8698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001628/0.01371, allocations: 153 kB / 0.9014 GB, free: 13.47 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.01373, allocations: 5.875 kB / 0.9014 GB, free: 13.47 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.01373, allocations: 0 / 0.9014 GB, free: 13.47 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.01375, allocations: 0 / 0.9014 GB, free: 13.47 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.589e-05/0.01381, allocations: 15.98 kB / 0.9015 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.01381, allocations: 4 kB / 0.9015 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.284e-05/0.01388, allocations: 15.94 kB / 0.9015 GB, free: 13.43 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.01388, allocations: 4 kB / 0.9015 GB, free: 13.43 MB / 0.8698 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.0001041/0.01399, allocations: 160.6 kB / 0.9016 GB, free: 13.26 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004128/0.0144, allocations: 83.41 kB / 0.9017 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000187/0.01459, allocations: 140.5 kB / 0.9018 GB, free: 13.03 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.01459, allocations: 0 / 0.9018 GB, free: 13.03 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.01459, allocations: 0 / 0.9018 GB, free: 13.03 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.0146, allocations: 3.984 kB / 0.9018 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002516/0.01485, allocations: 325 kB / 0.9022 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.01485, allocations: 8 kB / 0.9022 GB, free: 12.67 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.853e-05/0.01488, allocations: 11.98 kB / 0.9022 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.01489, allocations: 7.938 kB / 0.9022 GB, free: 12.65 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.01489, allocations: 4 kB / 0.9022 GB, free: 12.65 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.0149, allocations: 80 / 0.9022 GB, free: 12.65 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.0149, allocations: 3.984 kB / 0.9022 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.01504, allocations: 187.9 kB / 0.9024 GB, free: 12.44 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.753e-05/0.0151, allocations: 63.52 kB / 0.9024 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.107e-05/0.01513, allocations: 7.938 kB / 0.9024 GB, free: 12.37 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.673e-05/0.01518, allocations: 4 kB / 0.9024 GB, free: 12.36 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.01523, allocations: 7.984 kB / 0.9025 GB, free: 12.36 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.01525, allocations: 11.98 kB / 0.9025 GB, free: 12.34 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000304/0.01555, allocations: 0.491 MB / 0.9029 GB, free: 11.86 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.01555, allocations: 0 / 0.9029 GB, free: 11.86 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001763/0.01573, allocations: 63.92 kB / 0.903 GB, free: 11.8 MB / 0.8698 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.0008661/0.01659, allocations: 395.1 kB / 0.9034 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001113/0.0167, allocations: 47.59 kB / 0.9034 GB, free: 11.49 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.0167, allocations: 0 / 0.9034 GB, free: 11.49 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.316e-05/0.01675, allocations: 39.66 kB / 0.9035 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.01715, allocations: 175.9 kB / 0.9036 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.01826, allocations: 0.9257 MB / 0.9045 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.01838, allocations: 192.2 kB / 0.9047 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 8.286e-05/0.01846, allocations: 43.25 kB / 0.9048 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/0.01865, allocations: 178.1 kB / 0.9049 GB, free: 9.895 MB / 0.8698 GB Notification: Performance of SimCode: time 1.032e-06/0.01866, allocations: 0 / 0.9049 GB, free: 9.895 MB / 0.8698 GB Notification: Performance of Templates: time 0.01049/0.02915, allocations: 6.872 MB / 0.9116 GB, free: 3.203 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: 6.152125034015626]