Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009734/0.0009734, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001172/0.001172, allocations: 171.5 kB / 24.87 MB, free: 9.258 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.9983/0.9983, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.817/1.817, allocations: 377.9 MB / 0.6247 GB, free: 8.414 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.8128 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.881e-05/2.02e-05, allocations: 3.297 kB / 0.8128 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.002671/0.002691, allocations: 2.205 MB / 0.815 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002964/0.005655, allocations: 2.7 MB / 0.8176 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001449/0.0058, allocations: 0 / 0.8176 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.006922, allocations: 0.4909 MB / 0.8181 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003452/0.007267, allocations: 175 kB / 0.8183 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004188/0.007686, allocations: 209.6 kB / 0.8185 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003499/0.008036, allocations: 402.6 kB / 0.8188 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.008139, allocations: 30.2 kB / 0.8189 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001829/0.008322, allocations: 187.4 kB / 0.819 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.008458, allocations: 120.5 kB / 0.8192 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.00848, allocations: 8 kB / 0.8192 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.008612, allocations: 73.5 kB / 0.8192 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.00873, allocations: 143.4 kB / 0.8194 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.95e-05/0.00882, allocations: 103.5 kB / 0.8195 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004062/0.009226, allocations: 430.3 kB / 0.8199 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.009229, allocations: 0.9062 kB / 0.8199 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.834e-06/0.009231, allocations: 4 kB / 0.8199 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5e-06/0.009236, allocations: 2.156 kB / 0.8199 GB, free: 10.2 MB / 0.7761 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.0008518/0.01009, allocations: 1.032 MB / 0.8209 GB, free: 9.117 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.01012, allocations: 12.03 kB / 0.8209 GB, free: 9.105 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.231e-05/0.01019, allocations: 72.47 kB / 0.821 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.01049, allocations: 377 kB / 0.8213 GB, free: 8.641 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.01051, allocations: 5.469 kB / 0.8213 GB, free: 8.637 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.01052, allocations: 8.375 kB / 0.8214 GB, free: 8.629 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.01065, allocations: 101.7 kB / 0.8214 GB, free: 8.516 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.01066, allocations: 3.938 kB / 0.8215 GB, free: 8.512 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.01067, allocations: 0 / 0.8215 GB, free: 8.512 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.01068, allocations: 5.094 kB / 0.8215 GB, free: 8.508 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.538e-05/0.01071, allocations: 15.98 kB / 0.8215 GB, free: 8.492 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004675/0.01118, allocations: 480 kB / 0.8219 GB, free: 7.996 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.01136, allocations: 68.06 kB / 0.822 GB, free: 7.918 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.7e-05/0.01139, allocations: 29.3 kB / 0.822 GB, free: 7.887 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.0114, allocations: 0 / 0.822 GB, free: 7.887 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001116/0.01151, allocations: 102.8 kB / 0.8221 GB, free: 7.766 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 9.51e-07/0.01151, allocations: 0.5 kB / 0.8221 GB, free: 7.766 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0002065/0.01172, allocations: 158.5 kB / 0.8223 GB, free: 7.605 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.447e-05/0.01174, allocations: 51.41 kB / 0.8223 GB, free: 7.543 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006252/0.01237, allocations: 0.917 MB / 0.8232 GB, free: 6.605 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.01239, allocations: 29.7 kB / 0.8232 GB, free: 6.57 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004948/0.01288, allocations: 459.2 kB / 0.8237 GB, free: 6.117 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.0129, allocations: 16.39 kB / 0.8237 GB, free: 6.102 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/0.01294, allocations: 35.34 kB / 0.8237 GB, free: 6.059 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.01305, allocations: 485.1 kB / 0.8242 GB, free: 5.578 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.38e-05/0.01307, allocations: 12.61 kB / 0.8242 GB, free: 5.566 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.266e-05/0.01312, allocations: 76.67 kB / 0.8243 GB, free: 5.473 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.036e-05/0.01318, allocations: 47.08 kB / 0.8243 GB, free: 5.422 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.01318, allocations: 0 / 0.8243 GB, free: 5.422 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001366/0.01332, allocations: 153.1 kB / 0.8245 GB, free: 5.266 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.01333, allocations: 4 kB / 0.8245 GB, free: 5.262 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.01333, allocations: 4 kB / 0.8245 GB, free: 5.258 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.747e-06/0.01334, allocations: 0 / 0.8245 GB, free: 5.258 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.431e-05/0.0134, allocations: 15.98 kB / 0.8245 GB, free: 5.242 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/0.0134, allocations: 2.188 kB / 0.8245 GB, free: 5.242 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.482e-05/0.01346, allocations: 4 kB / 0.8245 GB, free: 5.238 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.01347, allocations: 0 / 0.8245 GB, free: 5.238 MB / 0.7761 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.0001034/0.01357, allocations: 168.5 kB / 0.8247 GB, free: 5.062 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.771e-05/0.01362, allocations: 83.41 kB / 0.8247 GB, free: 4.98 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001683/0.01379, allocations: 137.1 kB / 0.8249 GB, free: 4.836 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.01379, allocations: 4 kB / 0.8249 GB, free: 4.832 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.01379, allocations: 2.125 kB / 0.8249 GB, free: 4.832 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.01379, allocations: 0 / 0.8249 GB, free: 4.832 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/0.01405, allocations: 333 kB / 0.8252 GB, free: 4.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01405, allocations: 0 / 0.8252 GB, free: 4.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.344e-05/0.01409, allocations: 11.98 kB / 0.8252 GB, free: 4.469 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.01409, allocations: 9.969 kB / 0.8252 GB, free: 4.461 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.0141, allocations: 0 / 0.8252 GB, free: 4.461 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.0141, allocations: 0 / 0.8252 GB, free: 4.461 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.0141, allocations: 0 / 0.8252 GB, free: 4.461 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/0.01425, allocations: 187.9 kB / 0.8254 GB, free: 4.254 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.077e-05/0.0143, allocations: 71.44 kB / 0.8255 GB, free: 4.184 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/0.01433, allocations: 5.5 kB / 0.8255 GB, free: 4.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.237e-05/0.01439, allocations: 8 kB / 0.8255 GB, free: 4.172 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.01443, allocations: 7.984 kB / 0.8255 GB, free: 4.164 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.01444, allocations: 7.984 kB / 0.8255 GB, free: 4.156 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003059/0.01475, allocations: 0.4911 MB / 0.826 GB, free: 3.672 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01475, allocations: 0 / 0.826 GB, free: 3.672 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002047/0.01495, allocations: 63.92 kB / 0.826 GB, free: 3.609 MB / 0.7761 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.0009059/0.01586, allocations: 393.7 kB / 0.8264 GB, free: 3.359 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000111/0.01597, allocations: 55.58 kB / 0.8265 GB, free: 3.301 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01597, allocations: 0 / 0.8265 GB, free: 3.301 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.066e-05/0.01601, allocations: 31.61 kB / 0.8265 GB, free: 3.266 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004156/0.01642, allocations: 175.3 kB / 0.8267 GB, free: 3.094 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.01754, allocations: 0.9218 MB / 0.8276 GB, free: 2.137 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.01766, allocations: 192.2 kB / 0.8277 GB, free: 1.93 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.329e-05/0.01775, allocations: 38.95 kB / 0.8278 GB, free: 1.891 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/0.01796, allocations: 182.1 kB / 0.828 GB, free: 1.711 MB / 0.7761 GB Notification: Performance of SimCode: time 7.01e-07/0.01796, allocations: 0 / 0.828 GB, free: 1.711 MB / 0.7761 GB Notification: Performance of Templates: time 0.009885/0.02784, allocations: 6.943 MB / 0.8347 GB, free: 10.96 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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: 5.144953100942075]