Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change.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.001011/0.001011, allocations: 91.67 kB / 20.95 MB, free: 3.301 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.004214/0.004214, allocations: 160 kB / 24.38 MB, free: 8.598 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 1.018/1.018, allocations: 177.1 MB / 204.8 MB, free: 5.035 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.923/1.923, 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.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.285e-06/2.285e-06, allocations: 0 / 0.7756 GB, free: 5.133 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.607e-05/2.835e-05, allocations: 10.25 kB / 0.7756 GB, free: 5.121 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.00988/0.009908, allocations: 2.014 MB / 0.7775 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00217/0.01208, allocations: 1.263 MB / 0.7788 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001792/0.01226, allocations: 4.875 kB / 0.7788 GB, free: 1.859 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.003455/0.01571, allocations: 92.89 kB / 0.7789 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0006244/0.01634, allocations: 145.5 kB / 0.779 GB, free: 1.637 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004101/0.01675, allocations: 131.4 kB / 0.7791 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003594/0.01711, allocations: 227.4 kB / 0.7794 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.01726, allocations: 42.42 kB / 0.7794 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007188/0.01797, allocations: 170.8 kB / 0.7796 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/0.01814, allocations: 87.41 kB / 0.7796 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.788e-05/0.01817, allocations: 12 kB / 0.7797 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.01833, allocations: 59.92 kB / 0.7797 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.102e-05/0.01841, allocations: 59.75 kB / 0.7798 GB, free: 0.8906 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.304e-05/0.01847, allocations: 51.84 kB / 0.7798 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.00343/0.0219, allocations: 195.2 kB / 0.78 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.02191, allocations: 4 kB / 0.78 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.283e-06/0.02191, allocations: 0 / 0.78 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.02191, allocations: 0 / 0.78 GB, free: 0.6445 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006476/0.02256, allocations: 448.3 kB / 0.7804 GB, free: 188 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.0226, allocations: 13.34 kB / 0.7804 GB, free: 176 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.755e-05/0.02265, allocations: 25.62 kB / 0.7805 GB, free: 152 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.02295, allocations: 201.8 kB / 0.7807 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.02298, allocations: 7.969 kB / 0.7807 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.023, allocations: 12 kB / 0.7807 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.02319, allocations: 104.6 kB / 0.7808 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.0232, allocations: 0 / 0.7808 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.02321, allocations: 11.94 kB / 0.7808 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.02322, allocations: 0.8125 kB / 0.7808 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.266e-05/0.02328, allocations: 23.98 kB / 0.7808 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004747/0.02376, allocations: 258.9 kB / 0.7811 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.02393, allocations: 116.6 kB / 0.7812 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.64e-05/0.02396, allocations: 21.92 kB / 0.7812 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.02398, allocations: 11.92 kB / 0.7812 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001388/0.02412, allocations: 91.88 kB / 0.7813 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 2.485e-06/0.02412, allocations: 0 / 0.7813 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0002085/0.02433, allocations: 109.6 kB / 0.7814 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.02437, allocations: 64.16 kB / 0.7815 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003246/0.02762, allocations: 251.8 kB / 0.7817 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.02765, allocations: 31.3 kB / 0.7817 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.645e-05/0.02771, allocations: 121 kB / 0.7818 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.145e-05/0.02776, allocations: 35.73 kB / 0.7819 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.238e-05/0.02784, allocations: 65.66 kB / 0.7819 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.02794, allocations: 335.5 kB / 0.7823 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.95e-05/0.028, allocations: 26.81 kB / 0.7823 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.508e-05/0.02807, allocations: 74.08 kB / 0.7824 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.02822, allocations: 102.5 kB / 0.7825 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.02822, allocations: 4 kB / 0.7825 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000229/0.02845, allocations: 141.6 kB / 0.7826 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.02847, allocations: 17 kB / 0.7826 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.02848, allocations: 0 / 0.7826 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.02849, allocations: 4 kB / 0.7826 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.02866, allocations: 53.03 kB / 0.7827 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.02866, allocations: 3.938 kB / 0.7827 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.93e-05/0.02875, allocations: 27.81 kB / 0.7827 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.02878, allocations: 8.5 kB / 0.7827 GB, free: 13.7 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 19 (decreaseSampler.y,$PRE.decreaseSampler.y,increaseSampler.y,$PRE.increaseSampler.y,changeSampler.y,$PRE.changeSampler.y,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition2,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,cha.down,cha.up,cha.y,cha.u,$PRE.cha.u,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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 0.0001053/0.02888, allocations: 137.7 kB / 0.7828 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.02891, allocations: 17.2 kB / 0.7829 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001808/0.02909, allocations: 103.8 kB / 0.783 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.0291, allocations: 0 / 0.783 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.0291, allocations: 4.781 kB / 0.783 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.02911, allocations: 3.938 kB / 0.783 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004018/0.02951, allocations: 357.3 kB / 0.7833 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.02951, allocations: 0.6875 kB / 0.7833 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.368e-05/0.02957, allocations: 15.98 kB / 0.7833 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.02958, allocations: 0.9688 kB / 0.7833 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.02959, allocations: 11.98 kB / 0.7833 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.02959, allocations: 3.938 kB / 0.7833 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.0296, allocations: 1.125 kB / 0.7833 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.02978, allocations: 245 kB / 0.7836 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.134e-05/0.02981, allocations: 21.27 kB / 0.7836 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.02984, allocations: 4 kB / 0.7836 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.123e-05/0.02993, allocations: 15.92 kB / 0.7836 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.144e-05/0.02999, allocations: 15.97 kB / 0.7836 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.03, allocations: 9.344 kB / 0.7836 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.034e-05/0.03009, allocations: 78.77 kB / 0.7837 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.03009, allocations: 0 / 0.7837 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003324/0.03341, allocations: 49.44 kB / 0.7838 GB, free: 12.57 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y) * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001499/0.03491, allocations: 0.5154 MB / 0.7843 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002045/0.03512, allocations: 106 kB / 0.7844 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.03512, allocations: 0 / 0.7844 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.235e-05/0.0352, allocations: 41.44 kB / 0.7844 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.03552, allocations: 60.73 kB / 0.7845 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002648/0.03816, allocations: 377.7 kB / 0.7848 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.814e-05/0.03825, allocations: 88.31 kB / 0.7849 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.992e-05/0.03835, allocations: 29.08 kB / 0.7849 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.03848, allocations: 91.34 kB / 0.785 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of SimCode: time 8.02e-07/0.03848, allocations: 0 / 0.785 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of Templates: time 0.007538/0.04602, allocations: 3.536 MB / 0.7885 GB, free: 8.121 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & (cd run_cvode && ../Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change_gbode.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change_ida.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.168135347776115]