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.00143/0.00143, 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.001526/0.001526, allocations: 212.6 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.171/3.171, allocations: 0.4892 GB / 0.7951 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 177] 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.002132/0.002132, allocations: 68.19 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3323, allocations: 176.1 MB / 1.326 GB, free: 1.84 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002763/0.3351, allocations: 1.21 MB / 1.328 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002535/0.3376, allocations: 1.708 MB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001842/0.3378, allocations: 4 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.953e-05/0.3379, allocations: 19.69 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002948/0.3382, allocations: 95.34 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.3398, allocations: 0.6465 MB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0009107/0.3407, allocations: 0.7564 MB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.3409, allocations: 48.89 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003594/0.3413, allocations: 299.3 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003932/0.3416, allocations: 251.1 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.3418, allocations: 68 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001622/0.3419, allocations: 80 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.363e-05/0.342, allocations: 83.67 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000254/0.3423, allocations: 235.3 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007358/0.343, allocations: 0.697 MB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.343, allocations: 0 / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.512e-06/0.343, allocations: 4 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.343, allocations: 0 / 1.332 GB, free: 11.65 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.001463/0.3445, allocations: 0.8691 MB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.3445, allocations: 12.03 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.3447, allocations: 48.75 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/0.3461, allocations: 393 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.239e-05/0.3461, allocations: 28.38 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.3462, allocations: 52.36 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004821/0.3467, allocations: 212.5 kB / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.3467, allocations: 3.938 kB / 1.334 GB, free: 9.926 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.591e-05/0.3467, allocations: 15.98 kB / 1.334 GB, free: 9.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.3467, allocations: 4 kB / 1.334 GB, free: 9.906 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003457/0.3471, allocations: 127.8 kB / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.3483, allocations: 0.7774 MB / 1.335 GB, free: 8.965 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006962/0.349, allocations: 224 kB / 1.335 GB, free: 8.719 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002671/0.3493, allocations: 102.5 kB / 1.335 GB, free: 8.609 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.3493, allocations: 4 kB / 1.335 GB, free: 8.605 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006143/0.3499, allocations: 305.6 kB / 1.335 GB, free: 8.285 MB / 1.029 GB Notification: Performance of pre-optimization done (n=37): time 1.703e-06/0.3499, allocations: 0 / 1.335 GB, free: 8.285 MB / 1.029 GB Notification: Performance of matching and sorting (n=37): time 0.001172/0.3511, allocations: 457.2 kB / 1.336 GB, free: 7.832 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.629e-05/0.3512, allocations: 114.7 kB / 1.336 GB, free: 7.695 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002768/0.3514, allocations: 272.1 kB / 1.336 GB, free: 7.422 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.657e-05/0.3515, allocations: 45.7 kB / 1.336 GB, free: 7.371 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.3517, allocations: 161 kB / 1.336 GB, free: 7.211 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.321e-05/0.3518, allocations: 99.17 kB / 1.337 GB, free: 7.113 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002528/0.352, allocations: 154 kB / 1.337 GB, free: 6.957 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.3522, allocations: 350.8 kB / 1.337 GB, free: 6.605 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000693/0.3529, allocations: 411 kB / 1.337 GB, free: 6.164 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008983/0.3538, allocations: 0.7618 MB / 1.338 GB, free: 5.246 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009564/0.3547, allocations: 0.5734 MB / 1.339 GB, free: 4.594 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.3547, allocations: 3.984 kB / 1.339 GB, free: 4.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001803/0.3565, allocations: 1.045 MB / 1.34 GB, free: 3.465 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001556/0.3567, allocations: 190.1 kB / 1.34 GB, free: 3.242 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.3567, allocations: 0 / 1.34 GB, free: 3.242 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/0.3567, allocations: 8 kB / 1.34 GB, free: 3.234 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/0.357, allocations: 59.78 kB / 1.34 GB, free: 3.176 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.357, allocations: 4 kB / 1.34 GB, free: 3.172 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009146/0.3579, allocations: 179.6 kB / 1.34 GB, free: 2.996 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.503e-05/0.358, allocations: 44.16 kB / 1.34 GB, free: 2.953 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.0002474/0.3582, allocations: 172 kB / 1.34 GB, free: 2.777 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.882e-05/0.3583, allocations: 43.64 kB / 1.34 GB, free: 2.734 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.94e-05/0.3584, allocations: 33.8 kB / 1.34 GB, free: 2.699 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.3584, allocations: 7.938 kB / 1.34 GB, free: 2.691 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.3584, allocations: 0 / 1.34 GB, free: 2.691 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.3584, allocations: 4 kB / 1.34 GB, free: 2.688 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/0.3597, allocations: 0.8197 MB / 1.341 GB, free: 1.828 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3597, allocations: 0 / 1.341 GB, free: 1.828 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/0.3599, allocations: 43.91 kB / 1.341 GB, free: 1.785 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.36, allocations: 3.938 kB / 1.341 GB, free: 1.781 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.36, allocations: 11.98 kB / 1.341 GB, free: 1.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.36, allocations: 4 kB / 1.341 GB, free: 1.766 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.36, allocations: 4 kB / 1.341 GB, free: 1.762 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.3612, allocations: 0.709 MB / 1.342 GB, free: 1.035 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.802e-05/0.3612, allocations: 35.83 kB / 1.342 GB, free: 1 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.682e-05/0.3613, allocations: 12 kB / 1.342 GB, free: 0.9883 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002434/0.3615, allocations: 23.97 kB / 1.342 GB, free: 0.9648 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.109e-05/0.3616, allocations: 27.94 kB / 1.342 GB, free: 0.9375 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/0.3616, allocations: 23.92 kB / 1.342 GB, free: 0.9141 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000173/0.3618, allocations: 179.1 kB / 1.342 GB, free: 0.7422 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3618, allocations: 0 / 1.342 GB, free: 0.7422 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005117/0.3623, allocations: 115.9 kB / 1.342 GB, free: 0.6289 MB / 1.029 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.0001955/0.3625, allocations: 119.2 kB / 1.343 GB, free: 0.5039 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001456/0.364, allocations: 0.9432 MB / 1.343 GB, free: 15.45 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.364, allocations: 0 / 1.343 GB, free: 15.45 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003717/0.3643, allocations: 156.5 kB / 1.344 GB, free: 15.3 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007806/0.3651, allocations: 114.9 kB / 1.344 GB, free: 15.18 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.3663, allocations: 0.6341 MB / 1.344 GB, free: 14.5 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001732/0.3665, allocations: 168.9 kB / 1.344 GB, free: 14.32 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.872e-05/0.3666, allocations: 39.42 kB / 1.345 GB, free: 14.28 MB / 1.045 GB Notification: Performance of SimCode: time 4.61e-07/0.3666, allocations: 0 / 1.345 GB, free: 14.28 MB / 1.045 GB Notification: Performance of Templates: time 0.009526/0.3761, allocations: 5.906 MB / 1.35 GB, free: 8.426 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.769654855132103]