Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.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.00163/0.00163, 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.00214/0.00214, allocations: 165 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.9799/0.9799, allocations: 177.2 MB / 204.6 MB, free: 5.441 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.864/1.864, allocations: 389.6 MB / 0.6354 GB, free: 12.25 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.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.386e-06/3.386e-06, allocations: 0 / 0.7753 GB, free: 5.254 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.821e-05/3.16e-05, allocations: 2.969 kB / 0.7753 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002604/0.002635, allocations: 0.7682 MB / 0.776 GB, free: 4.508 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.003809, allocations: 0.8438 MB / 0.7768 GB, free: 3.656 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.312e-05/0.003852, allocations: 4.875 kB / 0.7768 GB, free: 3.652 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.497e-05/0.003887, allocations: 3.938 kB / 0.7769 GB, free: 3.648 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.976e-05/0.003977, allocations: 10.66 kB / 0.7769 GB, free: 3.641 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 7.063e-05/0.004047, allocations: 11.98 kB / 0.7769 GB, free: 3.629 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.004149, allocations: 47.52 kB / 0.7769 GB, free: 3.59 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.477e-05/0.004243, allocations: 12.06 kB / 0.7769 GB, free: 3.582 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.004349, allocations: 26.05 kB / 0.777 GB, free: 3.559 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.683e-05/0.004396, allocations: 13.08 kB / 0.777 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.004424, allocations: 4 kB / 0.777 GB, free: 3.543 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.898e-06/0.004434, allocations: 4.984 kB / 0.777 GB, free: 3.539 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.596e-05/0.00446, allocations: 9.297 kB / 0.777 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.657e-05/0.004486, allocations: 13.73 kB / 0.777 GB, free: 3.52 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 9.157e-05/0.004578, allocations: 29.44 kB / 0.777 GB, free: 3.492 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.004581, allocations: 0 / 0.777 GB, free: 3.492 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.565e-06/0.004584, allocations: 7.594 kB / 0.777 GB, free: 3.488 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.004588, allocations: 0 / 0.777 GB, free: 3.488 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003517/0.00494, allocations: 245.6 kB / 0.7773 GB, free: 3.223 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.00498, allocations: 9.344 kB / 0.7773 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.077e-05/0.005011, allocations: 12.92 kB / 0.7773 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.005116, allocations: 113.7 kB / 0.7774 GB, free: 3.066 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.005128, allocations: 384 / 0.7774 GB, free: 3.066 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.005137, allocations: 4.375 kB / 0.7774 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.005292, allocations: 70.78 kB / 0.7775 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.005302, allocations: 192 / 0.7775 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.005311, allocations: 384 / 0.7775 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.005317, allocations: 384 / 0.7775 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.757e-05/0.005354, allocations: 7.938 kB / 0.7775 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002665/0.005621, allocations: 164.2 kB / 0.7776 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.318e-05/0.005684, allocations: 22.56 kB / 0.7777 GB, free: 2.773 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.614e-05/0.00571, allocations: 12.86 kB / 0.7777 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.005722, allocations: 0 / 0.7777 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.005747, allocations: 30.56 kB / 0.7777 GB, free: 2.719 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.005748, allocations: 2.781 kB / 0.7777 GB, free: 2.719 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001466/0.005894, allocations: 49.66 kB / 0.7777 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.005929, allocations: 55.47 kB / 0.7778 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.499e-05/0.006004, allocations: 110.7 kB / 0.7779 GB, free: 2.477 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.006017, allocations: 29.7 kB / 0.7779 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.997e-05/0.006057, allocations: 88.08 kB / 0.778 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.006078, allocations: 3.953 kB / 0.778 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.429e-05/0.006113, allocations: 18.73 kB / 0.778 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.553e-05/0.006208, allocations: 318.8 kB / 0.7783 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.671e-05/0.006225, allocations: 4 kB / 0.7783 GB, free: 2 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.527e-05/0.00624, allocations: 5.156 kB / 0.7784 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.906e-05/0.006279, allocations: 12.84 kB / 0.7784 GB, free: 1.98 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.006281, allocations: 0 / 0.7784 GB, free: 1.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.471e-05/0.006356, allocations: 46.91 kB / 0.7784 GB, free: 1.93 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.00637, allocations: 4 kB / 0.7784 GB, free: 1.926 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.006376, allocations: 320 / 0.7784 GB, free: 1.926 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.006391, allocations: 8.562 kB / 0.7784 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.51e-05/0.006486, allocations: 12.55 kB / 0.7784 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.006488, allocations: 0.9375 kB / 0.7784 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.341e-05/0.006522, allocations: 8 kB / 0.7784 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.006529, allocations: 8.484 kB / 0.7785 GB, free: 1.891 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 (3): * Single equations (assignments): 3 * 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.731e-05/0.006596, allocations: 106.7 kB / 0.7786 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.006622, allocations: 7.984 kB / 0.7786 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.693e-05/0.006649, allocations: 9.625 kB / 0.7786 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.006652, allocations: 3.938 kB / 0.7786 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.006654, allocations: 3.938 kB / 0.7786 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.006657, allocations: 0 / 0.7786 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.00679, allocations: 77.88 kB / 0.7787 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.006792, allocations: 0.6875 kB / 0.7787 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.969e-05/0.006851, allocations: 9.781 kB / 0.7787 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.006854, allocations: 0 / 0.7787 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.006862, allocations: 3.984 kB / 0.7787 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.006865, allocations: 7.938 kB / 0.7787 GB, free: 1.645 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.006867, allocations: 0 / 0.7787 GB, free: 1.645 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.007005, allocations: 136.4 kB / 0.7788 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.456e-05/0.007019, allocations: 11.95 kB / 0.7788 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.007031, allocations: 0 / 0.7788 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.886e-05/0.00711, allocations: 8.547 kB / 0.7788 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.711e-05/0.007157, allocations: 5.375 kB / 0.7788 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.007163, allocations: 3.938 kB / 0.7788 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.293e-05/0.007186, allocations: 16.84 kB / 0.7788 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.007186, allocations: 0 / 0.7788 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001815/0.007367, allocations: 8.875 kB / 0.7789 GB, free: 1.441 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 (3): * Single equations (assignments): 3 * 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 0.0001224/0.00749, allocations: 77.3 kB / 0.7789 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.88e-05/0.007579, allocations: 20.78 kB / 0.7789 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.007583, allocations: 0.5625 kB / 0.7789 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.609e-05/0.007609, allocations: 14.31 kB / 0.779 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.007807, allocations: 11.94 kB / 0.779 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003102/0.008117, allocations: 137.8 kB / 0.7791 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.121e-05/0.008158, allocations: 59.3 kB / 0.7792 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.167e-05/0.00819, allocations: 1.719 kB / 0.7792 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.165e-05/0.008251, allocations: 55.36 kB / 0.7792 GB, free: 1.016 MB / 0.7292 GB Notification: Performance of SimCode: time 7.01e-07/0.008252, allocations: 0 / 0.7792 GB, free: 1.016 MB / 0.7292 GB Notification: Performance of Templates: time 0.003304/0.01156, allocations: 0.684 MB / 0.7799 GB, free: 372 kB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & (cd run_cvode && ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_gbode.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_ida.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.045364486984909]