Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.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.001578/0.001578, allocations: 100.8 kB / 19.74 MB, free: 2.07 MB / 14.72 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.002107/0.002107, allocations: 209.8 kB / 23.03 MB, free: 4.859 MB / 14.72 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.181/3.181, allocations: 0.49 GB / 0.7959 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ramUp.u|ramUp.y|ramUp1.y|ramUp.active|ramUpDow.u|ramUpDow.y|ramUpDow.active|ramUpDow1.u|ramUpDow1.y|ramUpDow1.active",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ramUp.u|ramUp.y|ramUp1.y|ramUp.active|ramUpDow.u|ramUpDow.y|ramUpDow.active|ramUpDow1.u|ramUpDow1.y|ramUpDow1.active",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 65.52 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3545, allocations: 176.1 MB / 1.327 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002645/0.3572, allocations: 1.199 MB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00261/0.3598, allocations: 1.709 MB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.109e-05/0.3599, allocations: 4 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.958e-05/0.3599, allocations: 27.62 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002526/0.3602, allocations: 91.33 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001554/0.3617, allocations: 0.6531 MB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008803/0.3626, allocations: 0.7564 MB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.3628, allocations: 44.91 kB / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003478/0.3631, allocations: 303.3 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004241/0.3635, allocations: 255 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001238/0.3637, allocations: 76 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001624/0.3638, allocations: 84 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.213e-05/0.3639, allocations: 63.83 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003327/0.3642, allocations: 247.2 kB / 1.333 GB, free: 11.44 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007799/0.365, allocations: 0.6931 MB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.365, allocations: 3.938 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.573e-06/0.365, allocations: 0 / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.365, allocations: 0 / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.001579/0.3666, allocations: 0.8653 MB / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.3666, allocations: 16.02 kB / 1.334 GB, free: 9.777 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.3668, allocations: 44.75 kB / 1.334 GB, free: 9.734 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001515/0.3683, allocations: 397 kB / 1.335 GB, free: 9.32 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.006e-05/0.3683, allocations: 24.38 kB / 1.335 GB, free: 9.297 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.877e-05/0.3684, allocations: 48.36 kB / 1.335 GB, free: 9.25 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005348/0.369, allocations: 212.5 kB / 1.335 GB, free: 9.027 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.369, allocations: 11.88 kB / 1.335 GB, free: 9.016 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.701e-05/0.369, allocations: 11.98 kB / 1.335 GB, free: 9.004 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.369, allocations: 4 kB / 1.335 GB, free: 9 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003413/0.3694, allocations: 115.9 kB / 1.335 GB, free: 8.887 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.3706, allocations: 0.789 MB / 1.336 GB, free: 8.059 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007016/0.3713, allocations: 216.2 kB / 1.336 GB, free: 7.82 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003089/0.3716, allocations: 102.5 kB / 1.336 GB, free: 7.711 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.3717, allocations: 8 kB / 1.336 GB, free: 7.703 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005651/0.3722, allocations: 301.6 kB / 1.336 GB, free: 7.387 MB / 1.029 GB Notification: Performance of pre-optimization done (n=37): time 3.957e-06/0.3722, allocations: 4 kB / 1.336 GB, free: 7.383 MB / 1.029 GB Notification: Performance of matching and sorting (n=37): time 0.001173/0.3734, allocations: 461.2 kB / 1.337 GB, free: 6.926 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001414/0.3735, allocations: 114.8 kB / 1.337 GB, free: 6.789 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/0.3738, allocations: 268.1 kB / 1.337 GB, free: 6.516 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.93e-05/0.3739, allocations: 45.7 kB / 1.337 GB, free: 6.465 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002024/0.3741, allocations: 161 kB / 1.337 GB, free: 6.305 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.884e-05/0.3742, allocations: 107.2 kB / 1.337 GB, free: 6.199 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002709/0.3745, allocations: 154 kB / 1.338 GB, free: 6.043 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.3746, allocations: 342.8 kB / 1.338 GB, free: 5.699 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006986/0.3753, allocations: 411 kB / 1.338 GB, free: 5.258 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009341/0.3763, allocations: 0.7696 MB / 1.339 GB, free: 4.332 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.3773, allocations: 0.5669 MB / 1.34 GB, free: 3.684 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.3773, allocations: 0 / 1.34 GB, free: 3.684 MB / 1.029 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001954/0.3793, allocations: 1.055 MB / 1.341 GB, free: 2.551 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001498/0.3794, allocations: 186.2 kB / 1.341 GB, free: 2.332 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.3795, allocations: 7.984 kB / 1.341 GB, free: 2.324 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.3795, allocations: 8 kB / 1.341 GB, free: 2.316 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.3797, allocations: 47.84 kB / 1.341 GB, free: 2.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.3797, allocations: 11.94 kB / 1.341 GB, free: 2.258 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009703/0.3807, allocations: 183.8 kB / 1.341 GB, free: 2.078 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.247e-05/0.3808, allocations: 39.97 kB / 1.341 GB, free: 2.039 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,pul.booPul.y,$PRE.pul.booPul.y,booPul1.y,$PRE.booPul1.y,$whenCondition15,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,pul1.booPul.y,$PRE.pul1.booPul.y,booPul2.y,$PRE.booPul2.y,$whenCondition10,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,pul2.booPul.y,$PRE.pul2.booPul.y,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 6 * 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.000236/0.381, allocations: 172 kB / 1.341 GB, free: 1.863 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.333e-05/0.3811, allocations: 35.77 kB / 1.341 GB, free: 1.828 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.5e-05/0.3811, allocations: 33.8 kB / 1.341 GB, free: 1.793 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.3811, allocations: 7.938 kB / 1.341 GB, free: 1.785 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.3811, allocations: 4 kB / 1.341 GB, free: 1.781 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.3812, allocations: 4 kB / 1.341 GB, free: 1.777 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001359/0.3825, allocations: 0.8271 MB / 1.342 GB, free: 0.9102 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.3825, allocations: 0 / 1.342 GB, free: 0.9102 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00023/0.3827, allocations: 47.91 kB / 1.342 GB, free: 0.8633 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.3828, allocations: 3.938 kB / 1.342 GB, free: 0.8594 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.676e-05/0.3828, allocations: 15.98 kB / 1.342 GB, free: 0.8438 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.83e-06/0.3828, allocations: 4 kB / 1.342 GB, free: 0.8398 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3828, allocations: 0 / 1.342 GB, free: 0.8398 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.384, allocations: 0.7011 MB / 1.343 GB, free: 124 kB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.947e-05/0.3841, allocations: 43.73 kB / 1.343 GB, free: 80 kB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.365e-05/0.3841, allocations: 8 kB / 1.343 GB, free: 72 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002416/0.3843, allocations: 15.98 kB / 1.343 GB, free: 56 kB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.3845, allocations: 31.94 kB / 1.343 GB, free: 24 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.7e-05/0.3845, allocations: 16 kB / 1.343 GB, free: 8 kB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001977/0.3847, allocations: 179.2 kB / 1.343 GB, free: 15.83 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3847, allocations: 0 / 1.343 GB, free: 15.83 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005434/0.3852, allocations: 115.9 kB / 1.343 GB, free: 15.72 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (ramUpDow1.y_internal,ramUpDow.y_internal,ramUp.y_internal,ramUp1.y_internal) * Number of discrete variables: 21 ($whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul2.booPul.y,booPul5.y,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,booPul2.y,pul1.booPul.y,$whenCondition15,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,booPul1.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0001899/0.3854, allocations: 119.2 kB / 1.343 GB, free: 15.59 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001445/0.3869, allocations: 0.9435 MB / 1.344 GB, free: 14.54 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.3869, allocations: 4.734 kB / 1.344 GB, free: 14.54 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003653/0.3872, allocations: 154.2 kB / 1.344 GB, free: 14.39 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007959/0.388, allocations: 116.8 kB / 1.345 GB, free: 14.27 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.3892, allocations: 0.6399 MB / 1.345 GB, free: 13.59 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001718/0.3894, allocations: 160.9 kB / 1.345 GB, free: 13.41 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.805e-05/0.3895, allocations: 39.42 kB / 1.345 GB, free: 13.37 MB / 1.045 GB Notification: Performance of SimCode: time 6.71e-07/0.3895, allocations: 4 kB / 1.345 GB, free: 13.37 MB / 1.045 GB Notification: Performance of Templates: time 0.009148/0.3987, allocations: 5.902 MB / 1.351 GB, free: 7.516 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,ramUp.u,ramUp.y,ramUp1.y,ramUp.active,ramUpDow.u,ramUpDow.y,ramUpDow.active,ramUpDow1.u,ramUpDow1.y,ramUpDow1.active Variables in the result:ramUp.active,ramUp.u,ramUp.y,ramUp1.y,ramUpDow.active,ramUpDow.u,ramUpDow.y,ramUpDow1.active,ramUpDow1.u,ramUpDow1.y,time [Calling sys.exit(0), Time elapsed: 11.757763965986669]