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.001288/0.001288, allocations: 79.19 kB / 19.76 MB, free: 2.031 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.001401/0.001401, allocations: 156.5 kB / 23.01 MB, free: 4.941 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.52/1.52, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.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: 359.1 MB / 0.6044 GB, free: 14.83 MB / 0.5762 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.002226/0.002226, allocations: 59.91 kB / 0.9516 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3488, allocations: 169.9 MB / 1.117 GB, free: 2.453 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002541/0.3513, allocations: 1.209 MB / 1.119 GB, free: 1.246 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002286/0.3536, allocations: 1.701 MB / 1.12 GB, free: 15.53 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.075e-05/0.3537, allocations: 4 kB / 1.12 GB, free: 15.53 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 6.734e-05/0.3538, allocations: 27.61 kB / 1.12 GB, free: 15.5 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002295/0.354, allocations: 91.34 kB / 1.12 GB, free: 15.41 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001465/0.3555, allocations: 0.6493 MB / 1.121 GB, free: 14.78 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0007942/0.3563, allocations: 0.7525 MB / 1.122 GB, free: 14.02 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.3564, allocations: 52.78 kB / 1.122 GB, free: 13.97 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003411/0.3568, allocations: 311.3 kB / 1.122 GB, free: 13.67 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004051/0.3572, allocations: 243.1 kB / 1.122 GB, free: 13.43 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001334/0.3573, allocations: 79.88 kB / 1.122 GB, free: 13.35 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001699/0.3575, allocations: 83.98 kB / 1.123 GB, free: 13.27 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.047e-05/0.3576, allocations: 71.81 kB / 1.123 GB, free: 13.2 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002819/0.3578, allocations: 239.2 kB / 1.123 GB, free: 12.96 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0007434/0.3586, allocations: 0.6971 MB / 1.124 GB, free: 12.27 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3586, allocations: 0 / 1.124 GB, free: 12.27 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3586, allocations: 0 / 1.124 GB, free: 12.27 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.3586, allocations: 0 / 1.124 GB, free: 12.27 MB / 1.076 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.001428/0.36, allocations: 0.8729 MB / 1.124 GB, free: 11.31 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.3601, allocations: 8.031 kB / 1.124 GB, free: 11.3 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001439/0.3602, allocations: 52.75 kB / 1.124 GB, free: 11.25 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001473/0.3617, allocations: 397 kB / 1.125 GB, free: 10.84 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.42e-05/0.3617, allocations: 32.36 kB / 1.125 GB, free: 10.8 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.3618, allocations: 40.38 kB / 1.125 GB, free: 10.77 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004683/0.3623, allocations: 220.6 kB / 1.125 GB, free: 10.54 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.3623, allocations: 7.875 kB / 1.125 GB, free: 10.53 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.3623, allocations: 4 kB / 1.125 GB, free: 10.52 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.3623, allocations: 4 kB / 1.125 GB, free: 10.52 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003334/0.3627, allocations: 123.9 kB / 1.125 GB, free: 10.4 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001171/0.3638, allocations: 0.7814 MB / 1.126 GB, free: 9.578 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006844/0.3645, allocations: 220.2 kB / 1.126 GB, free: 9.336 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002941/0.3648, allocations: 102.5 kB / 1.126 GB, free: 9.227 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.498e-05/0.3649, allocations: 7.984 kB / 1.126 GB, free: 9.219 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000572/0.3654, allocations: 295.1 kB / 1.127 GB, free: 8.91 MB / 1.076 GB Notification: Performance of pre-optimization done (n=37): time 1.493e-06/0.3654, allocations: 0 / 1.127 GB, free: 8.91 MB / 1.076 GB Notification: Performance of matching and sorting (n=37): time 0.001167/0.3666, allocations: 449.1 kB / 1.127 GB, free: 8.465 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.537e-05/0.3667, allocations: 122.7 kB / 1.127 GB, free: 8.32 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002796/0.367, allocations: 260.1 kB / 1.127 GB, free: 8.059 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.214e-05/0.367, allocations: 61.69 kB / 1.127 GB, free: 7.992 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.3672, allocations: 153 kB / 1.128 GB, free: 7.836 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 9.507e-05/0.3673, allocations: 107.2 kB / 1.128 GB, free: 7.73 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002532/0.3675, allocations: 150.1 kB / 1.128 GB, free: 7.574 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.3677, allocations: 342.8 kB / 1.128 GB, free: 7.23 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006793/0.3684, allocations: 411 kB / 1.129 GB, free: 6.793 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009152/0.3693, allocations: 0.7699 MB / 1.129 GB, free: 5.871 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009549/0.3703, allocations: 0.5809 MB / 1.13 GB, free: 5.211 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.3703, allocations: 0 / 1.13 GB, free: 5.211 MB / 1.076 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001716/0.372, allocations: 1.046 MB / 1.131 GB, free: 4.086 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001357/0.3721, allocations: 189.5 kB / 1.131 GB, free: 3.867 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.3721, allocations: 4 kB / 1.131 GB, free: 3.863 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.3721, allocations: 4 kB / 1.131 GB, free: 3.859 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.3724, allocations: 63.83 kB / 1.131 GB, free: 3.797 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.3724, allocations: 8.25 kB / 1.131 GB, free: 3.789 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009443/0.3733, allocations: 175.6 kB / 1.131 GB, free: 3.617 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.612e-05/0.3734, allocations: 47.97 kB / 1.131 GB, free: 3.57 MB / 1.076 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.000221/0.3736, allocations: 167.8 kB / 1.132 GB, free: 3.395 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.045e-05/0.3737, allocations: 35.77 kB / 1.132 GB, free: 3.359 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.007e-05/0.3738, allocations: 33.8 kB / 1.132 GB, free: 3.324 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.3738, allocations: 11.94 kB / 1.132 GB, free: 3.312 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.3738, allocations: 4 kB / 1.132 GB, free: 3.309 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.3738, allocations: 3.984 kB / 1.132 GB, free: 3.305 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.3751, allocations: 0.82 MB / 1.132 GB, free: 2.445 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.3751, allocations: 3.984 kB / 1.132 GB, free: 2.441 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002311/0.3753, allocations: 47.89 kB / 1.132 GB, free: 2.395 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/0.3753, allocations: 11.94 kB / 1.132 GB, free: 2.383 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.3754, allocations: 11.98 kB / 1.132 GB, free: 2.371 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3754, allocations: 0 / 1.132 GB, free: 2.371 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.3754, allocations: 4 kB / 1.132 GB, free: 2.367 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.3766, allocations: 0.7094 MB / 1.133 GB, free: 1.641 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.952e-05/0.3766, allocations: 39.64 kB / 1.133 GB, free: 1.602 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.198e-05/0.3767, allocations: 12.03 kB / 1.133 GB, free: 1.59 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.3769, allocations: 11.98 kB / 1.133 GB, free: 1.578 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.014e-05/0.377, allocations: 31.95 kB / 1.133 GB, free: 1.547 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/0.377, allocations: 19.98 kB / 1.133 GB, free: 1.527 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001737/0.3772, allocations: 183.1 kB / 1.133 GB, free: 1.348 MB / 1.076 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3772, allocations: 0 / 1.133 GB, free: 1.348 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005225/0.3777, allocations: 108 kB / 1.134 GB, free: 1.242 MB / 1.076 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.0001868/0.3779, allocations: 115.2 kB / 1.134 GB, free: 1.121 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001417/0.3793, allocations: 0.9405 MB / 1.135 GB, free: 72 kB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3793, allocations: 0 / 1.135 GB, free: 72 kB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.6834/1.063, allocations: 148.1 kB / 1.135 GB, free: 58.21 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009586/1.064, allocations: 109.1 kB / 1.135 GB, free: 58.2 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/1.065, allocations: 0.6032 MB / 1.135 GB, free: 57.92 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/1.065, allocations: 164.2 kB / 1.136 GB, free: 57.85 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001866/1.065, allocations: 51.56 kB / 1.136 GB, free: 57.85 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.136e-05/1.065, allocations: 35.36 kB / 1.136 GB, free: 57.84 MB / 1.076 GB Notification: Performance of SimCode: time 9.41e-07/1.065, allocations: 0.5 kB / 1.136 GB, free: 57.84 MB / 1.076 GB Notification: Performance of Templates: time 0.01215/1.077, allocations: 7.782 MB / 1.143 GB, free: 57.11 MB / 1.076 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 -s ida -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] Reference file matches [Calling sys.exit(0), Time elapsed: 9.229136307025328]