Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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.001334/0.001334, allocations: 80.92 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.001934/0.001934, allocations: 161 kB / 24.17 MB, free: 332 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 1.013/1.013, allocations: 177.1 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.996/1.996, allocations: 389.6 MB / 0.6354 GB, free: 12.31 MB / 0.6042 GB " [Timeout remaining time 177] 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.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.7753 GB, free: 5.312 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.527e-05/1.663e-05, allocations: 2.844 kB / 0.7753 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001342/0.001359, allocations: 0.7352 MB / 0.776 GB, free: 4.598 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.000824/0.002183, allocations: 0.8616 MB / 0.7768 GB, free: 3.727 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.43e-05/0.002217, allocations: 4.5 kB / 0.7768 GB, free: 3.723 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.854e-05/0.002246, allocations: 3.656 kB / 0.7768 GB, free: 3.723 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.611e-05/0.002322, allocations: 9.672 kB / 0.7768 GB, free: 3.715 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001459/0.002468, allocations: 13.52 kB / 0.7769 GB, free: 3.703 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 5.953e-05/0.002527, allocations: 19.06 kB / 0.7769 GB, free: 3.688 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.139e-05/0.002599, allocations: 8.969 kB / 0.7769 GB, free: 3.68 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.416e-05/0.002663, allocations: 12.77 kB / 0.7769 GB, free: 3.668 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.291e-05/0.002696, allocations: 8.859 kB / 0.7769 GB, free: 3.66 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.002709, allocations: 0 / 0.7769 GB, free: 3.66 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.199e-05/0.002761, allocations: 11.92 kB / 0.7769 GB, free: 3.648 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.002776, allocations: 7.984 kB / 0.7769 GB, free: 3.645 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.37e-05/0.00279, allocations: 9.078 kB / 0.7769 GB, free: 3.637 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 7.993e-05/0.00287, allocations: 25.23 kB / 0.777 GB, free: 3.613 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.195e-06/0.002872, allocations: 0 / 0.777 GB, free: 3.613 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.51e-07/0.002873, allocations: 0 / 0.777 GB, free: 3.613 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.206e-06/0.002876, allocations: 0 / 0.777 GB, free: 3.613 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.0002524/0.003128, allocations: 233.6 kB / 0.7772 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.003159, allocations: 9.344 kB / 0.7772 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.901e-05/0.003238, allocations: 8.922 kB / 0.7772 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.142e-05/0.00332, allocations: 109 kB / 0.7773 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.003331, allocations: 4.375 kB / 0.7773 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.27e-06/0.003336, allocations: 1.031 kB / 0.7773 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.65e-05/0.003423, allocations: 50.95 kB / 0.7774 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.00343, allocations: 192 / 0.7774 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.27e-06/0.003435, allocations: 384 / 0.7774 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.00344, allocations: 384 / 0.7774 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.043e-05/0.003461, allocations: 15.86 kB / 0.7774 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001748/0.003635, allocations: 144.9 kB / 0.7775 GB, free: 2.984 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.54e-05/0.003671, allocations: 26.59 kB / 0.7775 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.202e-05/0.003683, allocations: 8.922 kB / 0.7775 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.003698, allocations: 0 / 0.7775 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.003717, allocations: 30.56 kB / 0.7776 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.003717, allocations: 4 kB / 0.7776 GB, free: 2.895 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 9.39e-05/0.003811, allocations: 33.64 kB / 0.7776 GB, free: 2.855 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.003841, allocations: 63.98 kB / 0.7777 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.672e-05/0.003888, allocations: 100.4 kB / 0.7778 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.406e-06/0.003896, allocations: 25.7 kB / 0.7778 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.465e-05/0.003921, allocations: 84.14 kB / 0.7779 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.517e-05/0.003936, allocations: 11.94 kB / 0.7779 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-05/0.003962, allocations: 13.7 kB / 0.7779 GB, free: 2.523 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002121/0.004174, allocations: 316.5 kB / 0.7782 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.045e-06/0.004182, allocations: 0 / 0.7782 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.07e-05/0.004193, allocations: 16 / 0.7782 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.552e-05/0.004218, allocations: 21.08 kB / 0.7782 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.00422, allocations: 0 / 0.7782 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.873e-05/0.004259, allocations: 34.45 kB / 0.7783 GB, free: 2.148 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.00427, allocations: 8 kB / 0.7783 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.004275, allocations: 0 / 0.7783 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.004285, allocations: 0 / 0.7783 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.647e-05/0.004342, allocations: 11.92 kB / 0.7783 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.024e-06/0.004344, allocations: 0 / 0.7783 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.595e-05/0.00436, allocations: 7.938 kB / 0.7783 GB, free: 2.121 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-06/0.004363, allocations: 3.938 kB / 0.7783 GB, free: 2.117 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 4.847e-05/0.004411, allocations: 116.6 kB / 0.7784 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.185e-05/0.004423, allocations: 4.188 kB / 0.7784 GB, free: 1.992 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.06e-05/0.004484, allocations: 48.92 kB / 0.7784 GB, free: 1.941 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.004485, allocations: 0 / 0.7784 GB, free: 1.941 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.004488, allocations: 3.938 kB / 0.7784 GB, free: 1.938 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.00449, allocations: 4 kB / 0.7785 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.645e-05/0.004567, allocations: 75.08 kB / 0.7785 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.004568, allocations: 0 / 0.7785 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.703e-05/0.004585, allocations: 4 kB / 0.7785 GB, free: 1.84 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.004586, allocations: 0.5312 kB / 0.7785 GB, free: 1.84 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-06/0.00459, allocations: 0.9375 kB / 0.7785 GB, free: 1.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.004592, allocations: 3.984 kB / 0.7785 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.004592, allocations: 0 / 0.7785 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.293e-05/0.004655, allocations: 144.3 kB / 0.7787 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.993e-06/0.004662, allocations: 7.984 kB / 0.7787 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.492e-06/0.004669, allocations: 1.438 kB / 0.7787 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.057e-05/0.004699, allocations: 4 kB / 0.7787 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.163e-05/0.004721, allocations: 0 / 0.7787 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.004722, allocations: 0.6562 kB / 0.7787 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.085e-05/0.004733, allocations: 16.78 kB / 0.7787 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.004733, allocations: 0.6875 kB / 0.7787 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001085/0.004842, allocations: 4 kB / 0.7787 GB, free: 1.645 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.871e-05/0.0049, allocations: 77.61 kB / 0.7788 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.308e-05/0.004953, allocations: 13.36 kB / 0.7788 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.004955, allocations: 0.875 kB / 0.7788 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.238e-05/0.004967, allocations: 12.8 kB / 0.7788 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001194/0.005087, allocations: 8.859 kB / 0.7788 GB, free: 1.523 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003192/0.005406, allocations: 122.9 kB / 0.7789 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.757e-05/0.005434, allocations: 51.36 kB / 0.779 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.597e-05/0.005449, allocations: 7.984 kB / 0.779 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.558e-05/0.005485, allocations: 48.59 kB / 0.779 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of SimCode: time 4.11e-07/0.005485, allocations: 0 / 0.779 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of Templates: time 0.001664/0.007149, allocations: 465.9 kB / 0.7795 GB, free: 0.8203 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & (cd run_cvode && ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_gbode.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_ida.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.98581057973206]