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.0009591/0.0009591, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001066/0.001066, allocations: 177 kB / 23.36 MB, free: 1.129 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.9877/0.9877, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.378/2.378, allocations: 438.8 MB / 0.6827 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.312e-06/1.312e-06, allocations: 0 / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.542e-05/1.673e-05, allocations: 9.062 kB / 0.8387 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003638/0.003655, allocations: 2.255 MB / 0.8409 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003694/0.007349, allocations: 2.736 MB / 0.8435 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.0075, allocations: 7.938 kB / 0.8435 GB, free: 9.082 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.008884, allocations: 0.4936 MB / 0.844 GB, free: 8.586 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003896/0.009274, allocations: 171 kB / 0.8442 GB, free: 8.418 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005298/0.009804, allocations: 203.3 kB / 0.8444 GB, free: 8.219 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0004848/0.01029, allocations: 409.3 kB / 0.8448 GB, free: 7.82 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.01041, allocations: 33.25 kB / 0.8448 GB, free: 7.785 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002448/0.01066, allocations: 179.5 kB / 0.845 GB, free: 7.609 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001844/0.01084, allocations: 123.6 kB / 0.8451 GB, free: 7.488 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.022e-05/0.01087, allocations: 11.94 kB / 0.8451 GB, free: 7.477 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001978/0.01107, allocations: 75.86 kB / 0.8452 GB, free: 7.402 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001414/0.01121, allocations: 131.5 kB / 0.8453 GB, free: 7.273 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001474/0.01136, allocations: 111.5 kB / 0.8454 GB, free: 7.164 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0005242/0.01188, allocations: 430.3 kB / 0.8458 GB, free: 6.742 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.01189, allocations: 4 kB / 0.8458 GB, free: 6.738 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.72e-07/0.01189, allocations: 3.938 kB / 0.8458 GB, free: 6.734 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.0119, allocations: 0 / 0.8458 GB, free: 6.734 MB / 0.8073 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.0009825/0.01288, allocations: 0.8219 MB / 0.8466 GB, free: 5.879 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.01291, allocations: 8.031 kB / 0.8466 GB, free: 5.871 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.213e-05/0.01299, allocations: 40.89 kB / 0.8467 GB, free: 5.832 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000382/0.01337, allocations: 358.2 kB / 0.847 GB, free: 5.457 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.01339, allocations: 8.375 kB / 0.847 GB, free: 5.449 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.0134, allocations: 384 / 0.847 GB, free: 5.449 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.01355, allocations: 99.45 kB / 0.8471 GB, free: 5.336 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.01356, allocations: 7.875 kB / 0.8471 GB, free: 5.328 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.01357, allocations: 7.984 kB / 0.8471 GB, free: 5.32 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.01358, allocations: 0 / 0.8471 GB, free: 5.32 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.914e-05/0.01362, allocations: 27.92 kB / 0.8472 GB, free: 5.293 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004562/0.01408, allocations: 293.9 kB / 0.8474 GB, free: 4.988 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.01429, allocations: 108.1 kB / 0.8476 GB, free: 4.871 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.497e-05/0.01432, allocations: 24.89 kB / 0.8476 GB, free: 4.844 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.01434, allocations: 3.938 kB / 0.8476 GB, free: 4.84 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001209/0.01446, allocations: 95.89 kB / 0.8477 GB, free: 4.727 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.01446, allocations: 0 / 0.8477 GB, free: 4.727 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001885/0.01465, allocations: 113.6 kB / 0.8478 GB, free: 4.609 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.01468, allocations: 59.33 kB / 0.8478 GB, free: 4.539 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007313/0.01541, allocations: 0.7711 MB / 0.8486 GB, free: 3.754 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.01543, allocations: 29.7 kB / 0.8486 GB, free: 3.719 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.01554, allocations: 173.9 kB / 0.8488 GB, free: 3.547 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.91e-05/0.01557, allocations: 23.81 kB / 0.8488 GB, free: 3.523 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.171e-05/0.01561, allocations: 25.7 kB / 0.8488 GB, free: 3.492 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.102e-05/0.01569, allocations: 310 kB / 0.8491 GB, free: 3.184 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.466e-05/0.01572, allocations: 10.83 kB / 0.8491 GB, free: 3.172 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.361e-05/0.01576, allocations: 56.27 kB / 0.8492 GB, free: 3.102 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.392e-05/0.01583, allocations: 55.31 kB / 0.8492 GB, free: 3.039 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.01583, allocations: 0 / 0.8492 GB, free: 3.039 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001324/0.01596, allocations: 100.4 kB / 0.8493 GB, free: 2.934 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.01597, allocations: 4 kB / 0.8493 GB, free: 2.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.01598, allocations: 0 / 0.8493 GB, free: 2.93 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.016, allocations: 4 kB / 0.8493 GB, free: 2.926 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.576e-05/0.01606, allocations: 23.92 kB / 0.8494 GB, free: 2.902 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.01606, allocations: 0 / 0.8494 GB, free: 2.902 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.764e-05/0.01615, allocations: 7.953 kB / 0.8494 GB, free: 2.895 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.01616, allocations: 4.031 kB / 0.8494 GB, free: 2.891 MB / 0.8073 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.0001069/0.01627, allocations: 120.7 kB / 0.8495 GB, free: 2.762 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.675e-05/0.01631, allocations: 47.83 kB / 0.8495 GB, free: 2.715 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001726/0.01648, allocations: 124.1 kB / 0.8497 GB, free: 2.586 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.01649, allocations: 4 kB / 0.8497 GB, free: 2.582 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.01649, allocations: 0 / 0.8497 GB, free: 2.582 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.01649, allocations: 0 / 0.8497 GB, free: 2.582 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.01671, allocations: 201.6 kB / 0.8499 GB, free: 2.367 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01671, allocations: 0 / 0.8499 GB, free: 2.367 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.88e-05/0.01675, allocations: 11.98 kB / 0.8499 GB, free: 2.355 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.01675, allocations: 4 kB / 0.8499 GB, free: 2.352 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.01676, allocations: 3.938 kB / 0.8499 GB, free: 2.348 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.01676, allocations: 0 / 0.8499 GB, free: 2.348 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.01676, allocations: 3.984 kB / 0.8499 GB, free: 2.344 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.0169, allocations: 130.7 kB / 0.85 GB, free: 2.195 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.302e-05/0.01696, allocations: 59.52 kB / 0.8501 GB, free: 2.137 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.269e-05/0.01701, allocations: 7.938 kB / 0.8501 GB, free: 2.129 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.434e-05/0.01709, allocations: 8 kB / 0.8501 GB, free: 2.121 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.01713, allocations: 11.92 kB / 0.8501 GB, free: 2.109 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.01714, allocations: 0 / 0.8501 GB, free: 2.109 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0004191/0.01756, allocations: 403.3 kB / 0.8505 GB, free: 1.715 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.01756, allocations: 0 / 0.8505 GB, free: 1.715 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002484/0.01781, allocations: 59.94 kB / 0.8505 GB, free: 1.656 MB / 0.8073 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.001389/0.0192, allocations: 0.5141 MB / 0.851 GB, free: 1.371 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001112/0.01931, allocations: 48.77 kB / 0.8511 GB, free: 1.32 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/0.01932, allocations: 8 kB / 0.8511 GB, free: 1.312 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.569e-05/0.01937, allocations: 28.83 kB / 0.8511 GB, free: 1.281 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004731/0.01984, allocations: 171.1 kB / 0.8513 GB, free: 1.117 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/0.02126, allocations: 0.9138 MB / 0.8522 GB, free: 168 kB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001645/0.02142, allocations: 172.2 kB / 0.8523 GB, free: 15.98 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001212/0.02154, allocations: 43.16 kB / 0.8524 GB, free: 15.94 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000298/0.02184, allocations: 149.2 kB / 0.8525 GB, free: 15.79 MB / 0.823 GB Notification: Performance of SimCode: time 6.11e-07/0.02184, allocations: 4 kB / 0.8525 GB, free: 15.79 MB / 0.823 GB Notification: Performance of Templates: time 0.009694/0.03153, allocations: 6.847 MB / 0.8592 GB, free: 9.121 MB / 0.823 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 -s gbode -gbm=radauIIA3 -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.370902943890542]