Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.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.0008891/0.0008891, allocations: 91.67 kB / 20.95 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.003204/0.003204, allocations: 160.8 kB / 24.38 MB, free: 9.16 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.9394/0.9394, allocations: 177.1 MB / 204.8 MB, free: 5.406 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.895/1.895, allocations: 389.6 MB / 0.6356 GB, free: 12.21 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.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.816e-06/2.816e-06, allocations: 0 / 0.7756 GB, free: 5.086 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.419e-05/2.7e-05, allocations: 2.312 kB / 0.7756 GB, free: 5.082 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001727/0.001754, allocations: 0.9196 MB / 0.7765 GB, free: 4.188 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001255/0.003009, allocations: 1.222 MB / 0.7777 GB, free: 2.957 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.709e-05/0.003076, allocations: 0 / 0.7777 GB, free: 2.957 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.187e-05/0.003118, allocations: 11.86 kB / 0.7777 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.791e-05/0.003206, allocations: 17.67 kB / 0.7778 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004013/0.003607, allocations: 148.1 kB / 0.7779 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000182/0.003789, allocations: 172.3 kB / 0.7781 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.99e-05/0.003889, allocations: 34.5 kB / 0.7781 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.004022, allocations: 100.5 kB / 0.7782 GB, free: 2.496 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.004126, allocations: 48.39 kB / 0.7782 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.00415, allocations: 12.62 kB / 0.7783 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.055e-05/0.004221, allocations: 27.98 kB / 0.7783 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.543e-05/0.004246, allocations: 20.5 kB / 0.7783 GB, free: 2.391 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.51e-05/0.004291, allocations: 45.41 kB / 0.7783 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.004447, allocations: 123.5 kB / 0.7785 GB, free: 2.227 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.004449, allocations: 0 / 0.7785 GB, free: 2.227 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.21e-07/0.00445, allocations: 0 / 0.7785 GB, free: 2.227 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.004454, allocations: 0.9688 kB / 0.7785 GB, free: 2.227 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005306/0.004985, allocations: 362.7 kB / 0.7788 GB, free: 1.84 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.005019, allocations: 9.344 kB / 0.7788 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.145e-05/0.005061, allocations: 17.52 kB / 0.7788 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.005227, allocations: 152.3 kB / 0.779 GB, free: 1.645 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.00524, allocations: 8.375 kB / 0.779 GB, free: 1.637 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.005268, allocations: 16.88 kB / 0.779 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.005397, allocations: 83.53 kB / 0.7791 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.005405, allocations: 192 / 0.7791 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.005413, allocations: 1.281 kB / 0.7791 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.00542, allocations: 4.375 kB / 0.7791 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.377e-05/0.005444, allocations: 17.17 kB / 0.7791 GB, free: 1.512 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003778/0.005821, allocations: 232 kB / 0.7793 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.212e-05/0.005863, allocations: 27.36 kB / 0.7793 GB, free: 1.234 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.738e-05/0.005881, allocations: 12.84 kB / 0.7794 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.005896, allocations: 0.5312 kB / 0.7794 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001021/0.005998, allocations: 96.73 kB / 0.7795 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.005999, allocations: 0 / 0.7795 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0001466/0.006146, allocations: 73.61 kB / 0.7795 GB, free: 1.035 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.006181, allocations: 56.44 kB / 0.7796 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.346e-05/0.006265, allocations: 144.7 kB / 0.7797 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.006283, allocations: 33.7 kB / 0.7797 GB, free: 0.7773 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.903e-05/0.006332, allocations: 104.6 kB / 0.7798 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.006351, allocations: 32.53 kB / 0.7799 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.125e-05/0.006403, allocations: 41.69 kB / 0.7799 GB, free: 0.5938 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.292e-05/0.006496, allocations: 324.4 kB / 0.7802 GB, free: 276 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.892e-05/0.006554, allocations: 57.67 kB / 0.7803 GB, free: 212 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.924e-05/0.006644, allocations: 136.8 kB / 0.7804 GB, free: 28 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.006786, allocations: 168.6 kB / 0.7806 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.006791, allocations: 5.156 kB / 0.7806 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001889/0.00698, allocations: 210.5 kB / 0.7808 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/0.007012, allocations: 38.48 kB / 0.7808 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.007018, allocations: 4 kB / 0.7808 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.007028, allocations: 4.5 kB / 0.7808 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.963e-05/0.007097, allocations: 24.7 kB / 0.7808 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.007102, allocations: 4 kB / 0.7809 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.495e-05/0.007197, allocations: 44.8 kB / 0.7809 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.007212, allocations: 8.531 kB / 0.7809 GB, free: 15.46 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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 7.101e-05/0.007283, allocations: 130.4 kB / 0.781 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.091e-05/0.007294, allocations: 8 kB / 0.781 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.956e-05/0.007324, allocations: 16.77 kB / 0.7811 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.007325, allocations: 4 kB / 0.7811 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.007327, allocations: 2.906 kB / 0.7811 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.007331, allocations: 4.031 kB / 0.7811 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002313/0.007563, allocations: 242.6 kB / 0.7813 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.007564, allocations: 0 / 0.7813 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.283e-05/0.007607, allocations: 19.98 kB / 0.7813 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.00761, allocations: 0 / 0.7813 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.007617, allocations: 0 / 0.7813 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.007618, allocations: 0 / 0.7813 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.00762, allocations: 6.969 kB / 0.7813 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.007747, allocations: 175.4 kB / 0.7815 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.224e-05/0.007759, allocations: 19.83 kB / 0.7815 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.007771, allocations: 4 kB / 0.7815 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.398e-05/0.007805, allocations: 4 kB / 0.7815 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.007847, allocations: 15.91 kB / 0.7815 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.007853, allocations: 4 kB / 0.7815 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.281e-05/0.007876, allocations: 26.34 kB / 0.7816 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.007876, allocations: 0 / 0.7816 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001649/0.008041, allocations: 24 kB / 0.7816 GB, free: 14.73 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001121/0.008153, allocations: 97.39 kB / 0.7817 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002135/0.008367, allocations: 170.5 kB / 0.7818 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.008373, allocations: 4 kB / 0.7818 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.742e-05/0.008421, allocations: 24.78 kB / 0.7819 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001814/0.008602, allocations: 29.64 kB / 0.7819 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003698/0.008972, allocations: 250.1 kB / 0.7821 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.864e-05/0.009011, allocations: 68.88 kB / 0.7822 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.846e-05/0.009049, allocations: 15.67 kB / 0.7822 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.353e-05/0.009133, allocations: 84.16 kB / 0.7823 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of SimCode: time 5.01e-07/0.009133, allocations: 0 / 0.7823 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of Templates: time 0.003542/0.01267, allocations: 1.867 MB / 0.7841 GB, free: 12.19 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & (cd run_cvode && ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_gbode.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_ida.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.954250950366259]