Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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.00131/0.00131, allocations: 91.67 kB / 20.95 MB, free: 3.305 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.007604/0.007604, allocations: 161.6 kB / 24.37 MB, free: 8.484 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.9358/0.9358, allocations: 177.2 MB / 204.8 MB, free: 5.391 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.812/1.812, allocations: 389.6 MB / 0.6356 GB, free: 12.2 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.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.7756 GB, free: 5.125 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.538e-05/1.695e-05, allocations: 2.859 kB / 0.7756 GB, free: 5.121 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001713/0.00173, allocations: 1.533 MB / 0.7771 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0005418/0.002271, allocations: 459.8 kB / 0.7775 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.339e-05/0.002315, allocations: 3.906 kB / 0.7775 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.642e-05/0.002341, allocations: 0 / 0.7775 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.159e-05/0.002383, allocations: 6.344 kB / 0.7775 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001423/0.002525, allocations: 19.98 kB / 0.7775 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.739e-05/0.002603, allocations: 30.88 kB / 0.7776 GB, free: 3.102 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 5.979e-05/0.002662, allocations: 11.97 kB / 0.7776 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.475e-05/0.002757, allocations: 25.17 kB / 0.7776 GB, free: 3.066 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.392e-05/0.002791, allocations: 5.094 kB / 0.7776 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.002802, allocations: 0.6562 kB / 0.7776 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.432e-05/0.002856, allocations: 12 kB / 0.7776 GB, free: 3.051 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.146e-05/0.002868, allocations: 8.188 kB / 0.7776 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.174e-05/0.002879, allocations: 4.656 kB / 0.7776 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 7.543e-05/0.002955, allocations: 21.61 kB / 0.7776 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.002956, allocations: 0 / 0.7776 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.91e-07/0.002957, allocations: 0.9844 kB / 0.7776 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.946e-06/0.00296, allocations: 0 / 0.7776 GB, free: 3.023 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002126/0.003172, allocations: 240.9 kB / 0.7779 GB, free: 2.766 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.613e-05/0.003198, allocations: 10.38 kB / 0.7779 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.446e-05/0.003283, allocations: 8.938 kB / 0.7779 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.76e-05/0.003381, allocations: 126.8 kB / 0.778 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.143e-06/0.003388, allocations: 8.312 kB / 0.778 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.542e-06/0.003394, allocations: 384 / 0.778 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.492e-05/0.003459, allocations: 48.61 kB / 0.7781 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.003465, allocations: 192 / 0.7781 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.099e-06/0.00347, allocations: 0.9688 kB / 0.7781 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.003475, allocations: 3.938 kB / 0.7781 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.412e-05/0.003489, allocations: 4.562 kB / 0.7781 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001378/0.003627, allocations: 152.8 kB / 0.7782 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.31e-05/0.00366, allocations: 31.95 kB / 0.7783 GB, free: 2.328 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.238e-05/0.003673, allocations: 8.891 kB / 0.7783 GB, free: 2.316 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.003682, allocations: 4.062 kB / 0.7783 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.535e-05/0.003697, allocations: 31.25 kB / 0.7783 GB, free: 2.273 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 6.81e-07/0.003698, allocations: 0 / 0.7783 GB, free: 2.273 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 8.054e-05/0.003779, allocations: 38.27 kB / 0.7783 GB, free: 2.23 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.517e-05/0.003804, allocations: 56.53 kB / 0.7784 GB, free: 2.164 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.484e-05/0.003849, allocations: 114.7 kB / 0.7785 GB, free: 2.039 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.953e-06/0.003856, allocations: 25.7 kB / 0.7785 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.787e-05/0.003903, allocations: 85.36 kB / 0.7786 GB, free: 1.922 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.39e-05/0.003917, allocations: 7.938 kB / 0.7786 GB, free: 1.914 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.881e-05/0.003936, allocations: 13.72 kB / 0.7786 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.902e-05/0.003995, allocations: 315.3 kB / 0.7789 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.462e-06/0.004002, allocations: 0 / 0.7789 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.863e-06/0.004009, allocations: 4.875 kB / 0.7789 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.956e-05/0.004028, allocations: 14.47 kB / 0.7789 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.004029, allocations: 0 / 0.7789 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.34e-05/0.004063, allocations: 37.64 kB / 0.779 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.004073, allocations: 6.656 kB / 0.779 GB, free: 1.512 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.004077, allocations: 4.672 kB / 0.779 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.883e-06/0.004084, allocations: 3.938 kB / 0.779 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.133e-05/0.004125, allocations: 5.781 kB / 0.779 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.004128, allocations: 4 kB / 0.779 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.293e-05/0.004141, allocations: 0 / 0.779 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-06/0.004145, allocations: 4 kB / 0.779 GB, free: 1.492 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 3.845e-05/0.004183, allocations: 106.8 kB / 0.7791 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.113e-05/0.004194, allocations: 7.984 kB / 0.7791 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.284e-05/0.004207, allocations: 4.188 kB / 0.7791 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.004211, allocations: 9.297 kB / 0.7791 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.004213, allocations: 0 / 0.7791 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-06/0.004214, allocations: 4 kB / 0.7791 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.374e-05/0.004278, allocations: 65.89 kB / 0.7792 GB, free: 1.277 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.004279, allocations: 4.859 kB / 0.7792 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.294e-05/0.004292, allocations: 8 kB / 0.7792 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.41e-07/0.004293, allocations: 0.875 kB / 0.7792 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-06/0.004296, allocations: 0 / 0.7792 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.004297, allocations: 3.938 kB / 0.7792 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.004297, allocations: 0.5625 kB / 0.7792 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.683e-05/0.004354, allocations: 144.9 kB / 0.7794 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-06/0.004359, allocations: 3.953 kB / 0.7794 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.692e-06/0.004366, allocations: 0 / 0.7794 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.503e-05/0.004391, allocations: 4 kB / 0.7794 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.798e-05/0.004409, allocations: 9.141 kB / 0.7794 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-06/0.00441, allocations: 0 / 0.7794 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.086e-05/0.004421, allocations: 8.859 kB / 0.7794 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.004421, allocations: 0.6562 kB / 0.7794 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001042/0.004525, allocations: 4 kB / 0.7794 GB, free: 1.074 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 5.014e-05/0.004576, allocations: 81.47 kB / 0.7795 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 4.351e-05/0.004619, allocations: 17.89 kB / 0.7795 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.004621, allocations: 0 / 0.7795 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.01e-05/0.004631, allocations: 13.73 kB / 0.7795 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.221e-05/0.004723, allocations: 2.062 kB / 0.7795 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002952/0.005018, allocations: 148.2 kB / 0.7796 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.562e-05/0.005044, allocations: 56.3 kB / 0.7797 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.321e-05/0.005057, allocations: 0 / 0.7797 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.755e-05/0.005085, allocations: 48.31 kB / 0.7797 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of SimCode: time 2.5e-07/0.005085, allocations: 0 / 0.7797 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of Templates: time 0.001396/0.006481, allocations: 334.1 kB / 0.7801 GB, free: 356 kB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & (cd run_cvode && ../Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_gbode.pipe ; mkfifo Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_ida.pipe ; mkfifo Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.696900854818523]