Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.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.001332/0.001332, allocations: 91.67 kB / 20.94 MB, free: 3.309 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.005152/0.005152, allocations: 164.3 kB / 24.38 MB, free: 9.164 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.9128/0.9128, allocations: 177.1 MB / 204.8 MB, free: 5.414 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.844/1.844, allocations: 389.6 MB / 0.6356 GB, free: 12.18 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0.6562 kB / 0.7756 GB, free: 5.117 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.901e-05/2.034e-05, allocations: 3.031 kB / 0.7756 GB, free: 5.113 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.002317/0.002338, allocations: 1.795 MB / 0.7773 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0007641/0.003102, allocations: 0.5111 MB / 0.7778 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.698e-05/0.003169, allocations: 4 kB / 0.7778 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.423e-05/0.003203, allocations: 7.875 kB / 0.7778 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.312e-05/0.003286, allocations: 19.23 kB / 0.7778 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001923/0.003478, allocations: 51.72 kB / 0.7779 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.0036, allocations: 82.45 kB / 0.778 GB, free: 2.68 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.772e-05/0.003688, allocations: 32.12 kB / 0.778 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.003825, allocations: 51.89 kB / 0.7781 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.21e-05/0.003887, allocations: 31.89 kB / 0.7781 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.003904, allocations: 8 kB / 0.7781 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.067e-05/0.003955, allocations: 8 kB / 0.7781 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.858e-05/0.003974, allocations: 21.77 kB / 0.7781 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.384e-05/0.003997, allocations: 19.94 kB / 0.7781 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.004117, allocations: 75.66 kB / 0.7782 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.004119, allocations: 0 / 0.7782 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.41e-07/0.00412, allocations: 0 / 0.7782 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.167e-06/0.004124, allocations: 1 kB / 0.7782 GB, free: 2.434 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003115/0.004436, allocations: 288.6 kB / 0.7785 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.004466, allocations: 9.719 kB / 0.7785 GB, free: 2.121 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.004589, allocations: 32.89 kB / 0.7785 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003981/0.004987, allocations: 134.7 kB / 0.7787 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.005001, allocations: 384 / 0.7787 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.005013, allocations: 9.312 kB / 0.7787 GB, free: 1.926 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.00514, allocations: 110.3 kB / 0.7788 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.005146, allocations: 0.7188 kB / 0.7788 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.005156, allocations: 5.25 kB / 0.7788 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.005162, allocations: 3.938 kB / 0.7788 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.643e-05/0.005188, allocations: 11.94 kB / 0.7788 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002358/0.005424, allocations: 189.6 kB / 0.779 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.449e-05/0.005479, allocations: 23.23 kB / 0.779 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.969e-05/0.005498, allocations: 24.95 kB / 0.779 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.005512, allocations: 8.625 kB / 0.779 GB, free: 1.512 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.774e-05/0.005529, allocations: 30.56 kB / 0.7791 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.005531, allocations: 1.719 kB / 0.7791 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0001117/0.005642, allocations: 45.69 kB / 0.7791 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.005674, allocations: 77.11 kB / 0.7792 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.596e-05/0.00574, allocations: 133.2 kB / 0.7793 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.005755, allocations: 30.52 kB / 0.7793 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.666e-05/0.005792, allocations: 100.1 kB / 0.7794 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.488e-05/0.005807, allocations: 12.34 kB / 0.7794 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-05/0.005835, allocations: 21.7 kB / 0.7795 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.031e-05/0.005906, allocations: 323.5 kB / 0.7798 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.257e-05/0.005918, allocations: 8.781 kB / 0.7798 GB, free: 0.6797 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.463e-05/0.005953, allocations: 43.41 kB / 0.7798 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.21e-05/0.005985, allocations: 21.72 kB / 0.7798 GB, free: 0.6016 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.005987, allocations: 0 / 0.7798 GB, free: 0.6016 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.795e-05/0.006045, allocations: 49.62 kB / 0.7799 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.006058, allocations: 8.875 kB / 0.7799 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.006063, allocations: 0 / 0.7799 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.967e-06/0.006072, allocations: 0.9375 kB / 0.7799 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.37e-05/0.006146, allocations: 19.92 kB / 0.7799 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-06/0.006148, allocations: 0.5625 kB / 0.7799 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.591e-05/0.006184, allocations: 9.828 kB / 0.7799 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.00619, allocations: 0 / 0.7799 GB, free: 0.5117 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (chiSwi.hysteresis.y,$PRE.chiSwi.hysteresis.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.677e-05/0.006256, allocations: 113.8 kB / 0.78 GB, free: 400 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.006281, allocations: 7.938 kB / 0.78 GB, free: 392 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.418e-05/0.006305, allocations: 17.02 kB / 0.7801 GB, free: 380 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.006306, allocations: 0 / 0.7801 GB, free: 380 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.006309, allocations: 0.8125 kB / 0.7801 GB, free: 380 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.006311, allocations: 0 / 0.7801 GB, free: 380 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.006431, allocations: 79 kB / 0.7801 GB, free: 284 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.006432, allocations: 0 / 0.7801 GB, free: 284 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.258e-05/0.006465, allocations: 11.98 kB / 0.7801 GB, free: 272 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.006467, allocations: 4.75 kB / 0.7801 GB, free: 268 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.301e-06/0.006473, allocations: 3.938 kB / 0.7802 GB, free: 264 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.006474, allocations: 1.094 kB / 0.7802 GB, free: 264 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.006475, allocations: 0 / 0.7802 GB, free: 264 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.739e-05/0.006573, allocations: 151.6 kB / 0.7803 GB, free: 96 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.177e-05/0.006584, allocations: 12.8 kB / 0.7803 GB, free: 84 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.006602, allocations: 3.938 kB / 0.7803 GB, free: 80 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.872e-05/0.006661, allocations: 9.047 kB / 0.7803 GB, free: 72 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.006697, allocations: 11.98 kB / 0.7803 GB, free: 60 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.828e-06/0.0067, allocations: 0 / 0.7803 GB, free: 60 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.558e-05/0.006726, allocations: 25.86 kB / 0.7804 GB, free: 32 kB / 0.7292 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006726, allocations: 0 / 0.7804 GB, free: 32 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001785/0.006905, allocations: 15.94 kB / 0.7804 GB, free: 16 kB / 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: 1 (chiSwi.hysteresis.y) * Number of discrete states: 1 (chiSwi.hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 9.74e-05/0.007002, allocations: 86.16 kB / 0.7805 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.701e-05/0.007079, allocations: 24.8 kB / 0.7805 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.007081, allocations: 0 / 0.7805 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.461e-05/0.007106, allocations: 17.94 kB / 0.7805 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001533/0.007259, allocations: 8 kB / 0.7805 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00049/0.007749, allocations: 182.3 kB / 0.7807 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.814e-05/0.007787, allocations: 60.44 kB / 0.7807 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.983e-05/0.007827, allocations: 7.938 kB / 0.7807 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.331e-05/0.007891, allocations: 60.23 kB / 0.7808 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of SimCode: time 6.11e-07/0.007891, allocations: 0 / 0.7808 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of Templates: time 0.00284/0.01073, allocations: 0.957 MB / 0.7817 GB, free: 14.62 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.sim & (cd run_cvode && ../Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_gbode.pipe ; mkfifo Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_ida.pipe ; mkfifo Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.775145975872874]