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.00203/0.00203, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002945/0.002945, allocations: 208.2 kB / 22.99 MB, free: 4.984 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.59/1.59, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.327/3.327, allocations: 0.49 GB / 0.7959 GB, free: 35.33 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.002055/0.002055, allocations: 68.09 kB / 1.155 GB, free: 25.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.3976, allocations: 176.1 MB / 1.327 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002586/0.4002, allocations: 1.21 MB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002359/0.4025, allocations: 1.716 MB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.4027, allocations: 4 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.172e-05/0.4027, allocations: 23.62 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002243/0.4029, allocations: 91.33 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001479/0.4044, allocations: 0.6464 MB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008182/0.4052, allocations: 0.7603 MB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.4054, allocations: 48.91 kB / 1.332 GB, free: 12.42 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00034/0.4058, allocations: 299.4 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003875/0.4061, allocations: 287 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.4063, allocations: 72 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.4064, allocations: 76 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.705e-05/0.4065, allocations: 83.67 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002651/0.4068, allocations: 239.3 kB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007361/0.4075, allocations: 0.6931 MB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.4075, allocations: 8 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4075, allocations: 0 / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.4075, allocations: 0 / 1.333 GB, free: 10.68 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.001558/0.4091, allocations: 0.8653 MB / 1.334 GB, free: 9.734 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.4091, allocations: 8.031 kB / 1.334 GB, free: 9.727 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001573/0.4093, allocations: 48.75 kB / 1.334 GB, free: 9.68 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001562/0.4108, allocations: 393 kB / 1.334 GB, free: 9.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.646e-05/0.4109, allocations: 28.38 kB / 1.335 GB, free: 9.242 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.411, allocations: 52.3 kB / 1.335 GB, free: 9.191 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005024/0.4115, allocations: 212.5 kB / 1.335 GB, free: 8.969 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.4115, allocations: 7.938 kB / 1.335 GB, free: 8.961 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/0.4116, allocations: 7.984 kB / 1.335 GB, free: 8.953 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.4116, allocations: 4 kB / 1.335 GB, free: 8.949 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003508/0.4119, allocations: 127.8 kB / 1.335 GB, free: 8.824 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/0.4132, allocations: 0.7852 MB / 1.336 GB, free: 8 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007358/0.4139, allocations: 224.1 kB / 1.336 GB, free: 7.754 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002727/0.4142, allocations: 98.52 kB / 1.336 GB, free: 7.648 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/0.4142, allocations: 4 kB / 1.336 GB, free: 7.645 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006889/0.4149, allocations: 301.6 kB / 1.336 GB, free: 7.328 MB / 1.029 GB Notification: Performance of pre-optimization done (n=37): time 1.844e-06/0.4149, allocations: 4 kB / 1.336 GB, free: 7.324 MB / 1.029 GB Notification: Performance of matching and sorting (n=37): time 0.001252/0.4162, allocations: 457.2 kB / 1.337 GB, free: 6.871 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.396e-05/0.4163, allocations: 114.8 kB / 1.337 GB, free: 6.734 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003141/0.4166, allocations: 268.1 kB / 1.337 GB, free: 6.465 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.085e-05/0.4167, allocations: 45.7 kB / 1.337 GB, free: 6.414 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.4168, allocations: 161 kB / 1.337 GB, free: 6.254 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.417, allocations: 103.2 kB / 1.337 GB, free: 6.152 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003088/0.4173, allocations: 150 kB / 1.338 GB, free: 6 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002119/0.4175, allocations: 346.8 kB / 1.338 GB, free: 5.652 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007414/0.4182, allocations: 418.9 kB / 1.338 GB, free: 5.203 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009675/0.4192, allocations: 0.7618 MB / 1.339 GB, free: 4.285 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.4202, allocations: 0.5814 MB / 1.34 GB, free: 3.625 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.4202, allocations: 0 / 1.34 GB, free: 3.625 MB / 1.029 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001933/0.4222, allocations: 1.042 MB / 1.341 GB, free: 2.504 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001464/0.4223, allocations: 186.6 kB / 1.341 GB, free: 2.285 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.4223, allocations: 4 kB / 1.341 GB, free: 2.281 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.4223, allocations: 8 kB / 1.341 GB, free: 2.273 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002551/0.4226, allocations: 59.78 kB / 1.341 GB, free: 2.215 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.4226, allocations: 4 kB / 1.341 GB, free: 2.211 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009639/0.4236, allocations: 179.6 kB / 1.341 GB, free: 2.035 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.295e-05/0.4237, allocations: 43.97 kB / 1.341 GB, free: 1.992 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.0002561/0.4239, allocations: 176 kB / 1.341 GB, free: 1.812 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.42e-05/0.424, allocations: 39.77 kB / 1.341 GB, free: 1.773 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.918e-05/0.4241, allocations: 33.8 kB / 1.341 GB, free: 1.738 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.4241, allocations: 7.938 kB / 1.341 GB, free: 1.73 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.4241, allocations: 0 / 1.341 GB, free: 1.73 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.4241, allocations: 4 kB / 1.341 GB, free: 1.727 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/0.4255, allocations: 0.8235 MB / 1.342 GB, free: 0.8633 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.4255, allocations: 3.938 kB / 1.342 GB, free: 0.8594 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002423/0.4258, allocations: 39.97 kB / 1.342 GB, free: 0.8203 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.4258, allocations: 3.938 kB / 1.342 GB, free: 0.8164 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.171e-05/0.4258, allocations: 15.98 kB / 1.342 GB, free: 0.8008 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.4258, allocations: 4 kB / 1.342 GB, free: 0.7969 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.4258, allocations: 3.938 kB / 1.342 GB, free: 0.793 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.4271, allocations: 0.7051 MB / 1.343 GB, free: 72 kB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.58e-05/0.4271, allocations: 35.7 kB / 1.343 GB, free: 36 kB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.949e-05/0.4272, allocations: 8 kB / 1.343 GB, free: 28 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/0.4274, allocations: 15.98 kB / 1.343 GB, free: 12 kB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.875e-05/0.4275, allocations: 31.88 kB / 1.343 GB, free: 15.98 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.604e-05/0.4276, allocations: 23.98 kB / 1.343 GB, free: 15.96 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002164/0.4278, allocations: 179.1 kB / 1.343 GB, free: 15.79 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4278, allocations: 3.938 kB / 1.343 GB, free: 15.78 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006014/0.4284, allocations: 115.9 kB / 1.343 GB, free: 15.67 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.0002441/0.4286, allocations: 119.3 kB / 1.343 GB, free: 15.54 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001774/0.4304, allocations: 0.9474 MB / 1.344 GB, free: 14.48 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.4304, allocations: 0 / 1.344 GB, free: 14.48 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003672/0.4308, allocations: 138.2 kB / 1.344 GB, free: 14.35 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008624/0.4316, allocations: 121.8 kB / 1.345 GB, free: 14.23 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.4329, allocations: 0.6108 MB / 1.345 GB, free: 13.58 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.4332, allocations: 164.9 kB / 1.345 GB, free: 13.4 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001935/0.4334, allocations: 51.27 kB / 1.345 GB, free: 13.35 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.866e-05/0.4334, allocations: 47.42 kB / 1.345 GB, free: 13.3 MB / 1.045 GB Notification: Performance of SimCode: time 4.1e-07/0.4334, allocations: 0 / 1.345 GB, free: 13.3 MB / 1.045 GB Notification: Performance of Templates: time 0.01514/0.4486, allocations: 8.091 MB / 1.353 GB, free: 5.402 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 cvode -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.690660394000588]