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.001425/0.001425, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001613/0.001613, allocations: 215.5 kB / 22.25 MB, free: 4.855 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.61/1.61, allocations: 230.6 MB / 256 MB, free: 7.785 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 3.005/3.005, allocations: 476 MB / 0.7699 GB, free: 4.758 MB / 0.6231 GB " [Timeout remaining time 176] 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.002187/0.002187, allocations: 69.69 kB / 1.117 GB, free: 40.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4723/0.4745, allocations: 170 MB / 1.283 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.003766/0.4782, allocations: 1.21 MB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003621/0.4819, allocations: 1.706 MB / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001534/0.482, allocations: 4 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.4821, allocations: 27.61 kB / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003722/0.4825, allocations: 91.33 kB / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002906/0.4854, allocations: 0.6456 MB / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001412/0.4868, allocations: 0.7525 MB / 1.287 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002346/0.487, allocations: 52.78 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000619/0.4877, allocations: 303.3 kB / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006391/0.4883, allocations: 243.2 kB / 1.288 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001883/0.4885, allocations: 72 kB / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002651/0.4887, allocations: 91.92 kB / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.4889, allocations: 75.75 kB / 1.288 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004159/0.4893, allocations: 235.3 kB / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001163/0.4905, allocations: 0.6931 MB / 1.289 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4905, allocations: 8 kB / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.086e-06/0.4905, allocations: 0 / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.4905, allocations: 0 / 1.289 GB, free: 5.711 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.002332/0.4928, allocations: 0.8653 MB / 1.29 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.4928, allocations: 8.031 kB / 1.29 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002071/0.4931, allocations: 48.75 kB / 1.29 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002347/0.4954, allocations: 401 kB / 1.29 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.032e-05/0.4955, allocations: 32.36 kB / 1.29 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/0.4956, allocations: 44.38 kB / 1.29 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008114/0.4964, allocations: 216.5 kB / 1.291 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.4965, allocations: 7.938 kB / 1.291 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.77e-05/0.4965, allocations: 7.938 kB / 1.291 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.4965, allocations: 4 kB / 1.291 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006136/0.4971, allocations: 123.9 kB / 1.291 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002192/0.4993, allocations: 0.793 MB / 1.292 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.5005, allocations: 224.1 kB / 1.292 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004475/0.501, allocations: 90.53 kB / 1.292 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.557e-05/0.501, allocations: 15.86 kB / 1.292 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001228/0.5023, allocations: 294.9 kB / 1.292 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=37): time 4.689e-06/0.5023, allocations: 0 / 1.292 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37): time 0.002485/0.5047, allocations: 459.6 kB / 1.293 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000151/0.5049, allocations: 122.7 kB / 1.293 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005192/0.5054, allocations: 260.1 kB / 1.293 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.000148/0.5056, allocations: 49.69 kB / 1.293 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002581/0.5058, allocations: 161 kB / 1.293 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001778/0.506, allocations: 103.2 kB / 1.293 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004572/0.5065, allocations: 154 kB / 1.293 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002785/0.5067, allocations: 338.8 kB / 1.294 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/0.5079, allocations: 415 kB / 1.294 GB, free: 240 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001543/0.5094, allocations: 0.7696 MB / 1.295 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001761/0.5112, allocations: 0.5743 MB / 1.295 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/0.5112, allocations: 4 kB / 1.295 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.003336/0.5145, allocations: 1.04 MB / 1.296 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002649/0.5148, allocations: 190.6 kB / 1.297 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.5148, allocations: 4 kB / 1.297 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.701e-05/0.5148, allocations: 11.94 kB / 1.297 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003894/0.5152, allocations: 55.83 kB / 1.297 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-05/0.5153, allocations: 7.938 kB / 1.297 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/0.5169, allocations: 175.6 kB / 1.297 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001507/0.517, allocations: 43.97 kB / 1.297 GB, free: 13.02 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.0004384/0.5175, allocations: 171.5 kB / 1.297 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.5176, allocations: 31.81 kB / 1.297 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001421/0.5177, allocations: 33.8 kB / 1.297 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.636e-05/0.5178, allocations: 7.938 kB / 1.297 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.5178, allocations: 0 / 1.297 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.5178, allocations: 7.984 kB / 1.297 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002593/0.5204, allocations: 0.8245 MB / 1.298 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.5204, allocations: 4 kB / 1.298 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004272/0.5208, allocations: 47.89 kB / 1.298 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-05/0.5208, allocations: 3.938 kB / 1.298 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.463e-05/0.5209, allocations: 16.17 kB / 1.298 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/0.5209, allocations: 0 / 1.298 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.5209, allocations: 3.938 kB / 1.298 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002203/0.5231, allocations: 0.7123 MB / 1.299 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.5232, allocations: 31.7 kB / 1.299 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.63e-05/0.5233, allocations: 12.03 kB / 1.299 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000477/0.5238, allocations: 15.98 kB / 1.299 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.5239, allocations: 27.95 kB / 1.299 GB, free: 11 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.204e-05/0.524, allocations: 19.98 kB / 1.299 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003391/0.5243, allocations: 187.1 kB / 1.299 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5243, allocations: 3.938 kB / 1.299 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001139/0.5254, allocations: 107.9 kB / 1.299 GB, free: 10.69 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.0003468/0.5258, allocations: 119.2 kB / 1.299 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003091/0.5289, allocations: 0.9423 MB / 1.3 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/0.5289, allocations: 0 / 1.3 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006401/0.5295, allocations: 137.1 kB / 1.3 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001588/0.5311, allocations: 125.9 kB / 1.3 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00216/0.5333, allocations: 0.6046 MB / 1.301 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.5336, allocations: 168.8 kB / 1.301 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003505/0.5339, allocations: 47.28 kB / 1.301 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/0.5341, allocations: 39.42 kB / 1.301 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of SimCode: time 1.573e-06/0.5341, allocations: 4 kB / 1.301 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of Templates: time 0.02791/0.562, allocations: 8.057 MB / 1.309 GB, free: 0.4922 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/jenkins/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] Reference file matches [Calling sys.exit(0), Time elapsed: 10.072130009531975]