Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001783/0.001783, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.002221/0.002221, allocations: 218 kB / 23.01 MB, free: 4.605 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.207/3.207, allocations: 0.505 GB / 0.8108 GB, free: 22.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002186/0.002186, allocations: 63.47 kB / 1.178 GB, free: 16.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3438, allocations: 180.2 MB / 1.354 GB, free: 7.953 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002523/0.3463, allocations: 1.294 MB / 1.355 GB, free: 6.66 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002398/0.3487, allocations: 1.732 MB / 1.357 GB, free: 4.914 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.719e-05/0.3488, allocations: 4 kB / 1.357 GB, free: 4.91 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 6.151e-05/0.3488, allocations: 31.61 kB / 1.357 GB, free: 4.879 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000213/0.349, allocations: 91.34 kB / 1.357 GB, free: 4.789 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001441/0.3505, allocations: 0.6552 MB / 1.358 GB, free: 4.152 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000894/0.3514, allocations: 0.7525 MB / 1.359 GB, free: 3.398 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.3516, allocations: 48.91 kB / 1.359 GB, free: 3.352 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003661/0.3519, allocations: 299.4 kB / 1.359 GB, free: 3.059 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004204/0.3523, allocations: 279.1 kB / 1.359 GB, free: 2.785 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001163/0.3525, allocations: 72 kB / 1.359 GB, free: 2.715 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001534/0.3526, allocations: 87.98 kB / 1.359 GB, free: 2.629 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.972e-05/0.3527, allocations: 79.69 kB / 1.359 GB, free: 2.551 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002836/0.353, allocations: 263.1 kB / 1.36 GB, free: 2.293 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007408/0.3537, allocations: 0.6931 MB / 1.36 GB, free: 1.598 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3537, allocations: 3.938 kB / 1.36 GB, free: 1.594 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3537, allocations: 0 / 1.36 GB, free: 1.594 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.3537, allocations: 0 / 1.36 GB, free: 1.594 MB / 1.045 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.001463/0.3552, allocations: 0.8731 MB / 1.361 GB, free: 0.6367 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.3552, allocations: 8.031 kB / 1.361 GB, free: 0.6289 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/0.3554, allocations: 52.69 kB / 1.361 GB, free: 0.5781 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/0.3567, allocations: 389.1 kB / 1.362 GB, free: 176 kB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.421e-05/0.3568, allocations: 36.3 kB / 1.362 GB, free: 140 kB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.552e-05/0.3569, allocations: 44.38 kB / 1.362 GB, free: 96 kB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005016/0.3574, allocations: 220.6 kB / 1.362 GB, free: 15.86 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.3574, allocations: 3.938 kB / 1.362 GB, free: 15.86 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.803e-05/0.3574, allocations: 11.98 kB / 1.362 GB, free: 15.84 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.3574, allocations: 4 kB / 1.362 GB, free: 15.84 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003384/0.3578, allocations: 125.4 kB / 1.362 GB, free: 15.72 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001453/0.3592, allocations: 0.9248 MB / 1.363 GB, free: 14.75 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007099/0.3599, allocations: 220.1 kB / 1.363 GB, free: 14.5 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000264/0.3602, allocations: 98.52 kB / 1.363 GB, free: 14.4 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.081e-05/0.3602, allocations: 8 kB / 1.363 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006829/0.3609, allocations: 289.3 kB / 1.364 GB, free: 14.09 MB / 1.061 GB Notification: Performance of pre-optimization done (n=37): time 1.853e-06/0.3609, allocations: 0 / 1.364 GB, free: 14.09 MB / 1.061 GB Notification: Performance of matching and sorting (n=37): time 0.001283/0.3622, allocations: 465.1 kB / 1.364 GB, free: 13.62 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.932e-05/0.3623, allocations: 106.8 kB / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003029/0.3626, allocations: 272.1 kB / 1.364 GB, free: 13.22 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-05/0.3627, allocations: 45.7 kB / 1.364 GB, free: 13.17 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.3628, allocations: 165 kB / 1.365 GB, free: 13.01 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.735e-05/0.3629, allocations: 99.22 kB / 1.365 GB, free: 12.91 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000259/0.3632, allocations: 154 kB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.3633, allocations: 346.8 kB / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005287/0.3639, allocations: 216.8 kB / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006675/0.3645, allocations: 392.3 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009564/0.3655, allocations: 0.5761 MB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3655, allocations: 0 / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001714/0.3672, allocations: 0.8548 MB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.000138/0.3674, allocations: 187.9 kB / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.3674, allocations: 0 / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/0.3674, allocations: 15.88 kB / 1.367 GB, free: 9.949 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002442/0.3676, allocations: 56.08 kB / 1.367 GB, free: 9.895 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.3676, allocations: 4 kB / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009383/0.3686, allocations: 183.6 kB / 1.368 GB, free: 9.711 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.519e-05/0.3687, allocations: 47.91 kB / 1.368 GB, free: 9.664 MB / 1.061 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.0002563/0.3689, allocations: 180 kB / 1.368 GB, free: 9.477 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.974e-05/0.369, allocations: 35.77 kB / 1.368 GB, free: 9.441 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.974e-05/0.3691, allocations: 37.73 kB / 1.368 GB, free: 9.402 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.3691, allocations: 4 kB / 1.368 GB, free: 9.398 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.3691, allocations: 0 / 1.368 GB, free: 9.398 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.3691, allocations: 4 kB / 1.368 GB, free: 9.395 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.3705, allocations: 0.8966 MB / 1.369 GB, free: 8.445 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3705, allocations: 0 / 1.369 GB, free: 8.445 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/0.3707, allocations: 43.97 kB / 1.369 GB, free: 8.402 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.3708, allocations: 4 kB / 1.369 GB, free: 8.398 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/0.3708, allocations: 11.98 kB / 1.369 GB, free: 8.387 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/0.3708, allocations: 7.938 kB / 1.369 GB, free: 8.379 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.3708, allocations: 4 kB / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/0.372, allocations: 0.7135 MB / 1.369 GB, free: 7.645 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.158e-05/0.372, allocations: 31.84 kB / 1.369 GB, free: 7.613 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.592e-05/0.3721, allocations: 8 kB / 1.369 GB, free: 7.605 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.3723, allocations: 11.98 kB / 1.37 GB, free: 7.594 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.959e-05/0.3724, allocations: 31.95 kB / 1.37 GB, free: 7.562 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-05/0.3724, allocations: 27.92 kB / 1.37 GB, free: 7.535 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001892/0.3726, allocations: 183.1 kB / 1.37 GB, free: 7.355 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3726, allocations: 0 / 1.37 GB, free: 7.355 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005942/0.3732, allocations: 115.9 kB / 1.37 GB, free: 7.242 MB / 1.061 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.0002266/0.3734, allocations: 115.2 kB / 1.37 GB, free: 7.121 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001378/0.3748, allocations: 0.7577 MB / 1.371 GB, free: 6.289 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3748, allocations: 0 / 1.371 GB, free: 6.289 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003698/0.3752, allocations: 148.8 kB / 1.371 GB, free: 6.145 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008082/0.376, allocations: 117.4 kB / 1.371 GB, free: 6.027 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.3772, allocations: 0.6321 MB / 1.372 GB, free: 5.352 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004193/0.3776, allocations: 0.7727 MB / 1.372 GB, free: 4.551 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.3778, allocations: 47.36 kB / 1.372 GB, free: 4.504 MB / 1.061 GB Notification: Performance of SimCode: time 8.91e-07/0.3778, allocations: 4 kB / 1.372 GB, free: 4.5 MB / 1.061 GB Notification: Performance of Templates: time 0.01015/0.3879, allocations: 5.791 MB / 1.378 GB, free: 14.77 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.166374223015737]