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.001743/0.001743, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001963/0.001963, allocations: 210.5 kB / 22.99 MB, free: 4.953 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.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.205/3.205, allocations: 0.49 GB / 0.7959 GB, free: 35.56 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.002111/0.002111, allocations: 72.58 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4091/0.4112, allocations: 176.1 MB / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002621/0.4138, allocations: 1.194 MB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002464/0.4163, allocations: 1.716 MB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.4164, allocations: 4 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.737e-05/0.4165, allocations: 23.67 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002256/0.4167, allocations: 87.34 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001578/0.4183, allocations: 0.6537 MB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008434/0.4191, allocations: 0.7525 MB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001793/0.4193, allocations: 52.91 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003402/0.4196, allocations: 303.3 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004686/0.4201, allocations: 283 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001881/0.4203, allocations: 76 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.4205, allocations: 79.98 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.652e-05/0.4205, allocations: 79.69 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002608/0.4208, allocations: 235.3 kB / 1.333 GB, free: 11.42 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007565/0.4216, allocations: 0.697 MB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4216, allocations: 0 / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4216, allocations: 0 / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.4216, allocations: 0 / 1.333 GB, free: 10.72 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.001598/0.4232, allocations: 0.8692 MB / 1.334 GB, free: 9.77 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.4232, allocations: 8.031 kB / 1.334 GB, free: 9.762 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.4234, allocations: 48.75 kB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00153/0.4249, allocations: 397 kB / 1.334 GB, free: 9.301 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.172e-05/0.425, allocations: 32.36 kB / 1.335 GB, free: 9.27 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.4251, allocations: 44.38 kB / 1.335 GB, free: 9.227 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005481/0.4256, allocations: 224.5 kB / 1.335 GB, free: 8.992 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.4256, allocations: 7.938 kB / 1.335 GB, free: 8.984 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.863e-05/0.4257, allocations: 8 kB / 1.335 GB, free: 8.977 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.4257, allocations: 4 kB / 1.335 GB, free: 8.973 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003476/0.426, allocations: 115.9 kB / 1.335 GB, free: 8.859 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.4274, allocations: 0.7813 MB / 1.336 GB, free: 8.039 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007132/0.4281, allocations: 224 kB / 1.336 GB, free: 7.793 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000268/0.4284, allocations: 98.52 kB / 1.336 GB, free: 7.688 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.09e-05/0.4284, allocations: 8 kB / 1.336 GB, free: 7.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006811/0.4291, allocations: 309.6 kB / 1.336 GB, free: 7.355 MB / 1.029 GB Notification: Performance of pre-optimization done (n=37): time 4.077e-06/0.4291, allocations: 4 kB / 1.336 GB, free: 7.352 MB / 1.029 GB Notification: Performance of matching and sorting (n=37): time 0.001238/0.4303, allocations: 449.9 kB / 1.337 GB, free: 6.906 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.429e-05/0.4304, allocations: 122.6 kB / 1.337 GB, free: 6.762 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003326/0.4308, allocations: 272.1 kB / 1.337 GB, free: 6.488 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.03e-05/0.4309, allocations: 45.7 kB / 1.337 GB, free: 6.438 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.431, allocations: 161 kB / 1.337 GB, free: 6.277 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.4312, allocations: 107.2 kB / 1.337 GB, free: 6.172 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002964/0.4314, allocations: 150 kB / 1.338 GB, free: 6.02 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001937/0.4316, allocations: 342.8 kB / 1.338 GB, free: 5.676 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007041/0.4323, allocations: 415 kB / 1.338 GB, free: 5.23 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009602/0.4333, allocations: 0.7541 MB / 1.339 GB, free: 4.32 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.4343, allocations: 0.5871 MB / 1.34 GB, free: 3.656 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.4343, allocations: 0 / 1.34 GB, free: 3.656 MB / 1.029 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001798/0.4361, allocations: 1.044 MB / 1.341 GB, free: 2.531 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.00014/0.4362, allocations: 186.1 kB / 1.341 GB, free: 2.312 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.4363, allocations: 4 kB / 1.341 GB, free: 2.309 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.4363, allocations: 4 kB / 1.341 GB, free: 2.305 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/0.4365, allocations: 55.84 kB / 1.341 GB, free: 2.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.815e-05/0.4365, allocations: 15.92 kB / 1.341 GB, free: 2.234 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009447/0.4375, allocations: 179.8 kB / 1.341 GB, free: 2.059 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.943e-05/0.4376, allocations: 39.97 kB / 1.341 GB, free: 2.02 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.0002613/0.4378, allocations: 172 kB / 1.341 GB, free: 1.844 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.257e-05/0.4379, allocations: 35.77 kB / 1.341 GB, free: 1.809 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.04e-05/0.438, allocations: 33.8 kB / 1.341 GB, free: 1.773 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/0.438, allocations: 7.938 kB / 1.341 GB, free: 1.766 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.438, allocations: 3.938 kB / 1.341 GB, free: 1.762 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.438, allocations: 7.984 kB / 1.341 GB, free: 1.754 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001435/0.4394, allocations: 0.8188 MB / 1.342 GB, free: 0.8945 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.4394, allocations: 0 / 1.342 GB, free: 0.8945 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002394/0.4397, allocations: 43.89 kB / 1.342 GB, free: 0.8516 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-06/0.4397, allocations: 7.938 kB / 1.342 GB, free: 0.8438 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/0.4397, allocations: 16 kB / 1.342 GB, free: 0.8281 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.4397, allocations: 3.984 kB / 1.342 GB, free: 0.8242 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.4397, allocations: 8 kB / 1.342 GB, free: 0.8164 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.4409, allocations: 0.6932 MB / 1.343 GB, free: 108 kB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.379e-05/0.441, allocations: 43.7 kB / 1.343 GB, free: 64 kB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.044e-05/0.441, allocations: 8 kB / 1.343 GB, free: 56 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.4413, allocations: 16.02 kB / 1.343 GB, free: 40 kB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.67e-05/0.4414, allocations: 27.95 kB / 1.343 GB, free: 12 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.738e-05/0.4414, allocations: 23.92 kB / 1.343 GB, free: 15.99 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001712/0.4416, allocations: 179.1 kB / 1.343 GB, free: 15.82 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4416, allocations: 0 / 1.343 GB, free: 15.82 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005831/0.4422, allocations: 116.1 kB / 1.343 GB, free: 15.7 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.0001984/0.4424, allocations: 123.1 kB / 1.343 GB, free: 15.57 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001473/0.4438, allocations: 0.9432 MB / 1.344 GB, free: 14.52 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.4438, allocations: 4.75 kB / 1.344 GB, free: 14.52 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003557/0.4442, allocations: 143.8 kB / 1.344 GB, free: 14.38 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008065/0.445, allocations: 113.5 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.001186/0.4462, allocations: 0.6037 MB / 1.345 GB, free: 13.62 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001812/0.4464, allocations: 164.9 kB / 1.345 GB, free: 13.44 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001913/0.4466, allocations: 59.34 kB / 1.345 GB, free: 13.39 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.355e-05/0.4466, allocations: 39.42 kB / 1.345 GB, free: 13.35 MB / 1.045 GB Notification: Performance of SimCode: time 3.91e-07/0.4466, allocations: 0 / 1.345 GB, free: 13.35 MB / 1.045 GB Notification: Performance of Templates: time 0.01456/0.4612, allocations: 8.11 MB / 1.353 GB, free: 5.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 -s gbode -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] Reference file matches [Calling sys.exit(0), Time elapsed: 9.510439603996929]