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.001347/0.001347, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001002/0.001002, allocations: 161 kB / 24.16 MB, free: 336 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.9204/0.9204, allocations: 177.2 MB / 204.6 MB, free: 5.492 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.902/1.902, allocations: 389.6 MB / 0.6354 GB, free: 12.32 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.212e-06/1.212e-06, allocations: 0 / 0.7752 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.781e-05/1.903e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.41 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.002071/0.00209, allocations: 1.792 MB / 0.7769 GB, free: 3.633 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0006633/0.002753, allocations: 0.5172 MB / 0.7775 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.417e-05/0.002807, allocations: 0 / 0.7775 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.029e-05/0.002837, allocations: 8.734 kB / 0.7775 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.595e-05/0.002923, allocations: 20.28 kB / 0.7775 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001768/0.0031, allocations: 44.81 kB / 0.7775 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.003213, allocations: 88.73 kB / 0.7776 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.302e-05/0.003306, allocations: 33.84 kB / 0.7776 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.003435, allocations: 55.83 kB / 0.7777 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.811e-05/0.003493, allocations: 23.91 kB / 0.7777 GB, free: 2.855 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.00351, allocations: 8 kB / 0.7777 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.062e-05/0.003561, allocations: 12.5 kB / 0.7777 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.729e-05/0.003578, allocations: 21.06 kB / 0.7778 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.442e-05/0.003602, allocations: 23.92 kB / 0.7778 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.003709, allocations: 63.81 kB / 0.7778 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.003711, allocations: 2.844 kB / 0.7778 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.51e-07/0.003712, allocations: 0 / 0.7778 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.116e-06/0.003715, allocations: 0 / 0.7778 GB, free: 2.73 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.0002777/0.003993, allocations: 296.5 kB / 0.7781 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.004022, allocations: 8.75 kB / 0.7781 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.004131, allocations: 28.91 kB / 0.7782 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.004256, allocations: 129.5 kB / 0.7783 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.697e-06/0.004265, allocations: 4.375 kB / 0.7783 GB, free: 2.23 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.397e-06/0.004274, allocations: 8.375 kB / 0.7783 GB, free: 2.223 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.004388, allocations: 114.3 kB / 0.7784 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.78e-06/0.004394, allocations: 192 / 0.7784 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-06/0.004401, allocations: 384 / 0.7784 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.004406, allocations: 3.938 kB / 0.7784 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.564e-05/0.004432, allocations: 11.98 kB / 0.7784 GB, free: 2.074 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002116/0.004643, allocations: 193.4 kB / 0.7786 GB, free: 1.871 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.039e-05/0.004694, allocations: 26.56 kB / 0.7786 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.635e-05/0.00471, allocations: 9.609 kB / 0.7786 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.004724, allocations: 7.938 kB / 0.7786 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.004745, allocations: 35.91 kB / 0.7787 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.004746, allocations: 0 / 0.7787 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0001068/0.004852, allocations: 49.98 kB / 0.7787 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.004885, allocations: 82.23 kB / 0.7788 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.624e-05/0.004951, allocations: 133.3 kB / 0.7789 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.004966, allocations: 29.7 kB / 0.779 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.432e-05/0.005, allocations: 97.12 kB / 0.7791 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.005016, allocations: 15.84 kB / 0.7791 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/0.005043, allocations: 21.7 kB / 0.7791 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.004e-05/0.005113, allocations: 323.3 kB / 0.7794 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.011e-05/0.005123, allocations: 0 / 0.7794 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.474e-05/0.005158, allocations: 52.25 kB / 0.7794 GB, free: 0.918 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.797e-05/0.005186, allocations: 16.98 kB / 0.7795 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.005187, allocations: 5.25 kB / 0.7795 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.761e-05/0.005245, allocations: 57.61 kB / 0.7795 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.005255, allocations: 4 kB / 0.7795 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.00526, allocations: 4.797 kB / 0.7795 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.096e-06/0.005268, allocations: 4 kB / 0.7795 GB, free: 0.8203 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.569e-05/0.005314, allocations: 9.391 kB / 0.7795 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-06/0.005316, allocations: 0 / 0.7795 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.738e-05/0.005343, allocations: 8 kB / 0.7796 GB, free: 0.8047 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-06/0.005348, allocations: 0 / 0.7796 GB, free: 0.8047 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 5.198e-05/0.0054, allocations: 111.4 kB / 0.7797 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.72e-05/0.005417, allocations: 15.92 kB / 0.7797 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.999e-05/0.005437, allocations: 8.344 kB / 0.7797 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.005438, allocations: 0.6875 kB / 0.7797 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.005439, allocations: 3.938 kB / 0.7797 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.005443, allocations: 5.062 kB / 0.7797 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.06e-05/0.005523, allocations: 85.84 kB / 0.7798 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.005525, allocations: 0 / 0.7798 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.146e-05/0.005546, allocations: 4.625 kB / 0.7798 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.005547, allocations: 0 / 0.7798 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.005554, allocations: 12.45 kB / 0.7798 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.005555, allocations: 0.6875 kB / 0.7798 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.005555, allocations: 0 / 0.7798 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.005822, allocations: 137 kB / 0.7799 GB, free: 404 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.004e-05/0.005832, allocations: 11.95 kB / 0.7799 GB, free: 392 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.005846, allocations: 7.922 kB / 0.7799 GB, free: 384 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.778e-05/0.005884, allocations: 8.562 kB / 0.7799 GB, free: 376 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.809e-05/0.005912, allocations: 8.047 kB / 0.78 GB, free: 368 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.962e-06/0.005918, allocations: 13.48 kB / 0.78 GB, free: 356 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.994e-05/0.005938, allocations: 28.77 kB / 0.78 GB, free: 324 kB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005938, allocations: 0 / 0.78 GB, free: 324 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001078/0.006046, allocations: 12 kB / 0.78 GB, free: 312 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 6.155e-05/0.006107, allocations: 81.55 kB / 0.7801 GB, free: 224 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.324e-05/0.006171, allocations: 21.75 kB / 0.7801 GB, free: 200 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.006173, allocations: 0 / 0.7801 GB, free: 200 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.716e-05/0.00619, allocations: 20.73 kB / 0.7801 GB, free: 176 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001092/0.006299, allocations: 12.83 kB / 0.7801 GB, free: 164 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004038/0.006703, allocations: 182.5 kB / 0.7803 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.14e-05/0.006734, allocations: 63.34 kB / 0.7804 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.553e-05/0.00676, allocations: 9.266 kB / 0.7804 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.103e-05/0.006811, allocations: 60.72 kB / 0.7804 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of SimCode: time 4.61e-07/0.006811, allocations: 0 / 0.7804 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of Templates: time 0.00229/0.009101, allocations: 0.9582 MB / 0.7814 GB, free: 14.9 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.756009524688125]