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.001713/0.001713, allocations: 67.75 kB / 20.97 MB, free: 3.578 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.002073/0.002073, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9474/0.9474, allocations: 177.1 MB / 204.6 MB, free: 5.648 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.873/1.873, allocations: 377.8 MB / 0.6239 GB, free: 8.555 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 2.234e-06/2.234e-06, allocations: 0 / 0.8116 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.778e-05/3.002e-05, allocations: 3.531 kB / 0.8116 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004077/0.004107, allocations: 2.222 MB / 0.8137 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00399/0.008097, allocations: 2.736 MB / 0.8164 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002023/0.008299, allocations: 4 kB / 0.8164 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001636/0.009935, allocations: 0.4929 MB / 0.8169 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004005/0.01034, allocations: 168.4 kB / 0.8171 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004638/0.0108, allocations: 213.7 kB / 0.8173 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005079/0.01131, allocations: 398.6 kB / 0.8176 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.01143, allocations: 33.2 kB / 0.8177 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001942/0.01162, allocations: 184.3 kB / 0.8178 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.01178, allocations: 129.9 kB / 0.818 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/0.01181, allocations: 8 kB / 0.818 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001614/0.01197, allocations: 67.88 kB / 0.818 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.0121, allocations: 135.4 kB / 0.8182 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.903e-05/0.0122, allocations: 107.6 kB / 0.8183 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004672/0.01266, allocations: 438.3 kB / 0.8187 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.01267, allocations: 3.156 kB / 0.8187 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.343e-06/0.01267, allocations: 0 / 0.8187 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.01267, allocations: 0 / 0.8187 GB, free: 10.75 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.0009726/0.01365, allocations: 1.037 MB / 0.8197 GB, free: 9.668 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.01368, allocations: 8.031 kB / 0.8197 GB, free: 9.66 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.254e-05/0.01378, allocations: 80.41 kB / 0.8198 GB, free: 9.582 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003529/0.01413, allocations: 385 kB / 0.8202 GB, free: 9.18 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.01415, allocations: 4.375 kB / 0.8202 GB, free: 9.176 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.01416, allocations: 9.531 kB / 0.8202 GB, free: 9.168 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.01435, allocations: 145.7 kB / 0.8203 GB, free: 8.996 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.01436, allocations: 4.562 kB / 0.8203 GB, free: 8.992 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.01438, allocations: 11.98 kB / 0.8203 GB, free: 8.98 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.01438, allocations: 0.625 kB / 0.8203 GB, free: 8.98 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.916e-05/0.01444, allocations: 29.58 kB / 0.8204 GB, free: 8.953 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006627/0.01511, allocations: 0.6518 MB / 0.821 GB, free: 8.266 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.01535, allocations: 91.08 kB / 0.8211 GB, free: 8.164 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.714e-05/0.01539, allocations: 20.91 kB / 0.8211 GB, free: 8.141 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.0154, allocations: 8 kB / 0.8211 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001296/0.01553, allocations: 103.8 kB / 0.8212 GB, free: 8.012 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.01554, allocations: 0 / 0.8212 GB, free: 8.012 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0002637/0.0158, allocations: 177.2 kB / 0.8214 GB, free: 7.832 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.01584, allocations: 77.77 kB / 0.8215 GB, free: 7.738 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007458/0.01658, allocations: 0.9495 MB / 0.8224 GB, free: 6.773 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.0166, allocations: 29.7 kB / 0.8224 GB, free: 6.738 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002769/0.01688, allocations: 454.8 kB / 0.8228 GB, free: 6.289 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.0169, allocations: 21 kB / 0.8229 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.87e-05/0.01694, allocations: 27.38 kB / 0.8229 GB, free: 6.234 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.01704, allocations: 496.4 kB / 0.8234 GB, free: 5.742 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.272e-05/0.01707, allocations: 9 kB / 0.8234 GB, free: 5.734 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.097e-05/0.01713, allocations: 106.1 kB / 0.8235 GB, free: 5.602 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.988e-05/0.01721, allocations: 68.59 kB / 0.8235 GB, free: 5.527 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01722, allocations: 0 / 0.8235 GB, free: 5.527 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001553/0.01737, allocations: 158.2 kB / 0.8237 GB, free: 5.367 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.01738, allocations: 4 kB / 0.8237 GB, free: 5.363 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.01739, allocations: 1 kB / 0.8237 GB, free: 5.363 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.0174, allocations: 4 kB / 0.8237 GB, free: 5.359 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.826e-05/0.01746, allocations: 23.17 kB / 0.8237 GB, free: 5.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.01747, allocations: 8 kB / 0.8237 GB, free: 5.332 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.305e-05/0.01754, allocations: 7.938 kB / 0.8237 GB, free: 5.324 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.01755, allocations: 0 / 0.8237 GB, free: 5.324 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.0001097/0.01766, allocations: 168.5 kB / 0.8239 GB, free: 5.148 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.973e-05/0.01771, allocations: 79.48 kB / 0.824 GB, free: 5.07 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001946/0.0179, allocations: 148.1 kB / 0.8241 GB, free: 4.914 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.0179, allocations: 0 / 0.8241 GB, free: 4.914 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.01791, allocations: 0.9688 kB / 0.8241 GB, free: 4.914 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.01791, allocations: 3.984 kB / 0.8241 GB, free: 4.91 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004042/0.01831, allocations: 0.4971 MB / 0.8246 GB, free: 4.379 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.01832, allocations: 4 kB / 0.8246 GB, free: 4.375 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.223e-05/0.01835, allocations: 5.344 kB / 0.8246 GB, free: 4.371 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.01835, allocations: 3.984 kB / 0.8246 GB, free: 4.367 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.01836, allocations: 4 kB / 0.8246 GB, free: 4.363 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.01836, allocations: 64 / 0.8246 GB, free: 4.363 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.01836, allocations: 4 kB / 0.8246 GB, free: 4.359 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.01853, allocations: 199.9 kB / 0.8248 GB, free: 4.141 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.282e-05/0.01859, allocations: 67.52 kB / 0.8249 GB, free: 4.074 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.01862, allocations: 0 / 0.8249 GB, free: 4.074 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.844e-05/0.01869, allocations: 8 kB / 0.8249 GB, free: 4.066 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.687e-05/0.01873, allocations: 11.92 kB / 0.8249 GB, free: 4.055 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.01875, allocations: 3.984 kB / 0.8249 GB, free: 4.051 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004253/0.01917, allocations: 0.5185 MB / 0.8254 GB, free: 3.539 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01917, allocations: 0 / 0.8254 GB, free: 3.539 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000211/0.01939, allocations: 67.92 kB / 0.8255 GB, free: 3.473 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.0009352/0.02032, allocations: 407.7 kB / 0.8259 GB, free: 3.207 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001422/0.02046, allocations: 59.59 kB / 0.8259 GB, free: 3.145 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.02046, allocations: 0 / 0.8259 GB, free: 3.145 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.988e-05/0.02051, allocations: 35.83 kB / 0.8259 GB, free: 3.105 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/0.02096, allocations: 181.2 kB / 0.8261 GB, free: 2.934 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.02224, allocations: 0.9246 MB / 0.827 GB, free: 1.977 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.02236, allocations: 196.5 kB / 0.8272 GB, free: 1.766 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001031/0.02246, allocations: 30.98 kB / 0.8272 GB, free: 1.734 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.081e-05/0.02251, allocations: 32.48 kB / 0.8273 GB, free: 1.703 MB / 0.7761 GB Notification: Performance of SimCode: time 7.42e-07/0.02251, allocations: 0 / 0.8273 GB, free: 1.703 MB / 0.7761 GB Notification: Performance of Templates: time 0.01013/0.03264, allocations: 6.427 MB / 0.8335 GB, free: 11.45 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.181175900856033]