Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001326/0.001326, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001524/0.001524, allocations: 214.9 kB / 22.99 MB, free: 4.945 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.767/2.767, allocations: 476 MB / 0.7707 GB, free: 4.707 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002057/0.002057, allocations: 67.05 kB / 1.118 GB, free: 41.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3204, allocations: 170 MB / 1.284 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002723/0.3231, allocations: 1.198 MB / 1.285 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00267/0.3258, allocations: 1.71 MB / 1.287 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.3259, allocations: 4 kB / 1.287 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.616e-05/0.326, allocations: 23.62 kB / 1.287 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002256/0.3262, allocations: 91.33 kB / 1.287 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001404/0.3276, allocations: 0.6422 MB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008727/0.3285, allocations: 0.7641 MB / 1.288 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.3286, allocations: 52.83 kB / 1.288 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003583/0.329, allocations: 299.4 kB / 1.289 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003926/0.3294, allocations: 247.1 kB / 1.289 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.3295, allocations: 72 kB / 1.289 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001995/0.3297, allocations: 79.94 kB / 1.289 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.3298, allocations: 79.73 kB / 1.289 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002627/0.3301, allocations: 239.3 kB / 1.289 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007417/0.3308, allocations: 0.6971 MB / 1.29 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.3308, allocations: 0 / 1.29 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3308, allocations: 0 / 1.29 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.3309, allocations: 3.938 kB / 1.29 GB, free: 5.656 MB / 0.9825 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.001449/0.3323, allocations: 0.8691 MB / 1.291 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.3323, allocations: 8.031 kB / 1.291 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/0.3325, allocations: 48.75 kB / 1.291 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001442/0.3339, allocations: 401 kB / 1.291 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.333e-05/0.334, allocations: 28.38 kB / 1.291 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.3341, allocations: 48.36 kB / 1.291 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000494/0.3345, allocations: 216.5 kB / 1.291 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.3346, allocations: 3.938 kB / 1.291 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.883e-05/0.3346, allocations: 11.97 kB / 1.291 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.3346, allocations: 8 kB / 1.291 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000341/0.3349, allocations: 123.9 kB / 1.292 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.3361, allocations: 0.7813 MB / 1.292 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006912/0.3368, allocations: 228 kB / 1.293 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002811/0.3371, allocations: 98.52 kB / 1.293 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.3371, allocations: 7.938 kB / 1.293 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000603/0.3377, allocations: 298.9 kB / 1.293 GB, free: 2.289 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=37): time 1.613e-06/0.3377, allocations: 0 / 1.293 GB, free: 2.289 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37): time 0.001196/0.3389, allocations: 461.9 kB / 1.293 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.264e-05/0.339, allocations: 118.7 kB / 1.293 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002928/0.3393, allocations: 268.1 kB / 1.294 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.405e-05/0.3394, allocations: 49.7 kB / 1.294 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.3396, allocations: 157 kB / 1.294 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.609e-05/0.3397, allocations: 103.2 kB / 1.294 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002679/0.3399, allocations: 154 kB / 1.294 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001836/0.3401, allocations: 342.8 kB / 1.295 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007216/0.3408, allocations: 415 kB / 1.295 GB, free: 172 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/0.3419, allocations: 0.7618 MB / 1.296 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009996/0.3429, allocations: 0.5744 MB / 1.296 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.251e-06/0.3429, allocations: 4 kB / 1.296 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001848/0.3447, allocations: 1.045 MB / 1.297 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001582/0.3449, allocations: 192.8 kB / 1.297 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.3449, allocations: 8 kB / 1.297 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.3449, allocations: 4 kB / 1.297 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002425/0.3452, allocations: 55.84 kB / 1.297 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.437e-05/0.3452, allocations: 4 kB / 1.297 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009606/0.3461, allocations: 179.6 kB / 1.298 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-05/0.3462, allocations: 43.97 kB / 1.298 GB, free: 12.96 MB / 0.9981 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.0002716/0.3465, allocations: 179.5 kB / 1.298 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.216e-05/0.3466, allocations: 27.81 kB / 1.298 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.872e-05/0.3466, allocations: 33.8 kB / 1.298 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/0.3466, allocations: 7.938 kB / 1.298 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/0.3467, allocations: 4 kB / 1.298 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.3467, allocations: 0 / 1.298 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/0.3481, allocations: 0.8305 MB / 1.299 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.3481, allocations: 4 kB / 1.299 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002295/0.3483, allocations: 39.91 kB / 1.299 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.3483, allocations: 3.938 kB / 1.299 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.221e-05/0.3484, allocations: 23.92 kB / 1.299 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3484, allocations: 0 / 1.299 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3484, allocations: 0 / 1.299 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001254/0.3496, allocations: 0.7084 MB / 1.3 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.004e-05/0.3497, allocations: 39.73 kB / 1.3 GB, free: 11 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.817e-05/0.3497, allocations: 12 kB / 1.3 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.35, allocations: 15.98 kB / 1.3 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.656e-05/0.35, allocations: 40.06 kB / 1.3 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/0.3501, allocations: 15.98 kB / 1.3 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001917/0.3503, allocations: 183 kB / 1.3 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3503, allocations: 0 / 1.3 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005424/0.3508, allocations: 115.9 kB / 1.3 GB, free: 10.62 MB / 0.9981 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.0002297/0.351, allocations: 119.2 kB / 1.3 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001519/0.3525, allocations: 0.9435 MB / 1.301 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.3526, allocations: 0 / 1.301 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003826/0.3529, allocations: 151.2 kB / 1.301 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007885/0.3537, allocations: 110.6 kB / 1.301 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.3549, allocations: 0.6244 MB / 1.302 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001893/0.3551, allocations: 172.8 kB / 1.302 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.32e-05/0.3552, allocations: 39.42 kB / 1.302 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/0.3552, allocations: 4 kB / 1.302 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of Templates: time 0.009591/0.3648, allocations: 5.9 MB / 1.308 GB, free: 2.438 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.91283689904958]