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.0009985/0.0009985, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001084/0.001084, allocations: 165 kB / 24.17 MB, free: 328 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 1.016/1.016, allocations: 177.1 MB / 204.6 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.954/1.954, allocations: 377.9 MB / 0.624 GB, free: 8.336 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.062e-06/1.062e-06, allocations: 0 / 0.7601 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.208e-05/1.315e-05, allocations: 3.609 kB / 0.7601 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.002559/0.002573, allocations: 2.259 MB / 0.7623 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002786/0.005358, allocations: 2.753 MB / 0.765 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.005478, allocations: 0 / 0.765 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0009266/0.006405, allocations: 0.5087 MB / 0.7655 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002517/0.006657, allocations: 174.1 kB / 0.7657 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003595/0.007016, allocations: 199.3 kB / 0.7658 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003624/0.007378, allocations: 395.8 kB / 0.7662 GB, free: 292 kB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.007491, allocations: 45.22 kB / 0.7663 GB, free: 236 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.007665, allocations: 179.5 kB / 0.7664 GB, free: 56 kB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.007805, allocations: 118.8 kB / 0.7666 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.007826, allocations: 8 kB / 0.7666 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.007969, allocations: 83.84 kB / 0.7666 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.008075, allocations: 135.4 kB / 0.7668 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.127e-05/0.008157, allocations: 103.6 kB / 0.7669 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003554/0.008512, allocations: 434.2 kB / 0.7673 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.008514, allocations: 0 / 0.7673 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.01e-07/0.008515, allocations: 2.781 kB / 0.7673 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.008519, allocations: 0 / 0.7673 GB, free: 15.19 MB / 0.7292 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.0006564/0.009176, allocations: 0.8141 MB / 0.7681 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.009209, allocations: 12.03 kB / 0.7681 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.222e-05/0.009261, allocations: 40.89 kB / 0.7681 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000288/0.00955, allocations: 366.2 kB / 0.7685 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.009566, allocations: 384 / 0.7685 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.009577, allocations: 9.938 kB / 0.7685 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.00971, allocations: 103.4 kB / 0.7686 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.009718, allocations: 3.938 kB / 0.7686 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.009726, allocations: 0 / 0.7686 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.009733, allocations: 5.281 kB / 0.7686 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.339e-05/0.009766, allocations: 19.97 kB / 0.7686 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003511/0.01012, allocations: 285.9 kB / 0.7689 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.0103, allocations: 117.4 kB / 0.769 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.307e-05/0.01032, allocations: 17.52 kB / 0.769 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.01033, allocations: 3.938 kB / 0.769 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001024/0.01043, allocations: 105.2 kB / 0.7691 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.01043, allocations: 0 / 0.7691 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0001446/0.01058, allocations: 106.7 kB / 0.7692 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.407e-05/0.0106, allocations: 55.41 kB / 0.7693 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004884/0.01109, allocations: 0.771 MB / 0.77 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.01111, allocations: 30.42 kB / 0.7701 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.85e-05/0.0112, allocations: 173.9 kB / 0.7702 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.01122, allocations: 24.42 kB / 0.7702 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.01125, allocations: 25.69 kB / 0.7703 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.721e-05/0.01132, allocations: 311 kB / 0.7706 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.153e-05/0.01134, allocations: 14.81 kB / 0.7706 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.589e-05/0.01138, allocations: 49.22 kB / 0.7706 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000317/0.01169, allocations: 56.17 kB / 0.7707 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.0117, allocations: 0 / 0.7707 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001018/0.0118, allocations: 113.2 kB / 0.7708 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.01181, allocations: 6.031 kB / 0.7708 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.01181, allocations: 2.828 kB / 0.7708 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.01183, allocations: 4 kB / 0.7708 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.177e-05/0.01188, allocations: 15.98 kB / 0.7708 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.01188, allocations: 4 kB / 0.7708 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.031e-05/0.01194, allocations: 7.953 kB / 0.7708 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.01195, allocations: 4 kB / 0.7708 GB, free: 11.36 MB / 0.7292 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 8.528e-05/0.01203, allocations: 115.3 kB / 0.7709 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/0.01207, allocations: 47.88 kB / 0.771 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001378/0.0122, allocations: 128 kB / 0.7711 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.01221, allocations: 0 / 0.7711 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.01221, allocations: 4 kB / 0.7711 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.01221, allocations: 0 / 0.7711 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.01237, allocations: 197.6 kB / 0.7713 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.01237, allocations: 0.9688 kB / 0.7713 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.806e-05/0.01239, allocations: 12 kB / 0.7713 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.0124, allocations: 3.031 kB / 0.7713 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.0124, allocations: 11.92 kB / 0.7713 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.01241, allocations: 0 / 0.7713 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.01241, allocations: 0 / 0.7713 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.01251, allocations: 126.6 kB / 0.7714 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.527e-05/0.01256, allocations: 63.53 kB / 0.7715 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.951e-05/0.01259, allocations: 3.938 kB / 0.7715 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.569e-05/0.01264, allocations: 7.984 kB / 0.7715 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/0.01268, allocations: 11.67 kB / 0.7715 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.01269, allocations: 4 kB / 0.7715 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002704/0.01296, allocations: 391.3 kB / 0.7719 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01296, allocations: 0 / 0.7719 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001644/0.01312, allocations: 59.94 kB / 0.772 GB, free: 10.15 MB / 0.7292 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.00105/0.01417, allocations: 0.5198 MB / 0.7725 GB, free: 9.871 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.252e-05/0.01426, allocations: 49.44 kB / 0.7725 GB, free: 9.82 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.01427, allocations: 8.688 kB / 0.7725 GB, free: 9.812 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.557e-05/0.01431, allocations: 28.83 kB / 0.7726 GB, free: 9.781 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.01464, allocations: 165.2 kB / 0.7727 GB, free: 9.621 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.01568, allocations: 0.9088 MB / 0.7736 GB, free: 8.68 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.01579, allocations: 176.2 kB / 0.7738 GB, free: 8.488 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.28e-05/0.01587, allocations: 43.12 kB / 0.7738 GB, free: 8.449 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000198/0.01607, allocations: 145.2 kB / 0.774 GB, free: 8.309 MB / 0.7292 GB Notification: Performance of SimCode: time 8.72e-07/0.01607, allocations: 1.281 kB / 0.774 GB, free: 8.309 MB / 0.7292 GB Notification: Performance of Templates: time 0.008721/0.02479, allocations: 6.856 MB / 0.7806 GB, free: 1.742 MB / 0.7292 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 -s gbode -gbm=radauIIA3 -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.000234617386013]