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.0007156/0.0007156, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007879/0.0007879, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8814/0.8814, allocations: 177.2 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.671/1.671, allocations: 359 MB / 0.6044 GB, free: 11.06 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.715e-06/2.715e-06, allocations: 3.938 kB / 0.9518 GB, free: 2.895 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.733e-05/3.005e-05, allocations: 5.938 kB / 0.9518 GB, free: 2.891 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.00171/0.00174, allocations: 1.209 MB / 0.953 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001813/0.003553, allocations: 1.712 MB / 0.9547 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.429e-05/0.003647, allocations: 0 / 0.9547 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 4.875e-05/0.003696, allocations: 23.62 kB / 0.9547 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.000174/0.00387, allocations: 99.33 kB / 0.9548 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009921/0.004862, allocations: 0.6537 MB / 0.9554 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0005693/0.005431, allocations: 0.7563 MB / 0.9562 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.005569, allocations: 52.89 kB / 0.9562 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003586/0.005927, allocations: 431.3 kB / 0.9566 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002529/0.00618, allocations: 223.4 kB / 0.9568 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 6.904e-05/0.006249, allocations: 72 kB / 0.9569 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.006352, allocations: 87.92 kB / 0.957 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 4.84e-05/0.0064, allocations: 75.67 kB / 0.9571 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.006552, allocations: 215.6 kB / 0.9573 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0005773/0.007129, allocations: 0.8065 MB / 0.958 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.007131, allocations: 0 / 0.958 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.184e-06/0.007133, allocations: 4 kB / 0.9581 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.007141, allocations: 0 / 0.9581 GB, free: 12.48 MB / 0.9167 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.0009666/0.008108, allocations: 0.8651 MB / 0.9589 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.008144, allocations: 8.031 kB / 0.9589 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.903e-05/0.008243, allocations: 56.73 kB / 0.959 GB, free: 11.47 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007577/0.009001, allocations: 400.2 kB / 0.9593 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/0.00903, allocations: 28.38 kB / 0.9594 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.497e-05/0.009095, allocations: 44.38 kB / 0.9594 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002848/0.00938, allocations: 216.7 kB / 0.9596 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.009395, allocations: 4.172 kB / 0.9596 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.009414, allocations: 4.375 kB / 0.9596 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.00942, allocations: 8.125 kB / 0.9596 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001926/0.009613, allocations: 127.8 kB / 0.9598 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007787/0.01039, allocations: 0.7852 MB / 0.9605 GB, free: 9.789 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000393/0.01078, allocations: 220.1 kB / 0.9607 GB, free: 9.547 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.01093, allocations: 98.52 kB / 0.9608 GB, free: 9.441 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.01095, allocations: 4 kB / 0.9608 GB, free: 9.438 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003439/0.01129, allocations: 295.2 kB / 0.9611 GB, free: 9.129 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=37): time 1.262e-06/0.01129, allocations: 0 / 0.9611 GB, free: 9.129 MB / 0.9167 GB Notification: Performance of matching and sorting (n=37): time 0.0006687/0.01196, allocations: 469.4 kB / 0.9616 GB, free: 8.664 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.01201, allocations: 110.8 kB / 0.9617 GB, free: 8.531 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.01218, allocations: 264.2 kB / 0.9619 GB, free: 8.266 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 5.434e-05/0.01224, allocations: 49.7 kB / 0.962 GB, free: 8.211 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 9.756e-05/0.01233, allocations: 160.9 kB / 0.9621 GB, free: 8.051 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 5.949e-05/0.01239, allocations: 99.22 kB / 0.9622 GB, free: 7.953 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/0.01255, allocations: 154.1 kB / 0.9624 GB, free: 7.797 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.094e-05/0.01264, allocations: 346.8 kB / 0.9627 GB, free: 7.449 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004055/0.01304, allocations: 411 kB / 0.9631 GB, free: 7.012 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005098/0.01355, allocations: 0.7738 MB / 0.9638 GB, free: 6.078 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005475/0.0141, allocations: 0.5738 MB / 0.9644 GB, free: 5.426 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.01411, allocations: 4 kB / 0.9644 GB, free: 5.422 MB / 0.9167 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001055/0.01516, allocations: 1.04 MB / 0.9654 GB, free: 4.301 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 8.094e-05/0.01524, allocations: 186.7 kB / 0.9656 GB, free: 4.082 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.01525, allocations: 15.88 kB / 0.9656 GB, free: 4.066 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.01526, allocations: 4 kB / 0.9656 GB, free: 4.062 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.01538, allocations: 51.89 kB / 0.9657 GB, free: 4.012 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.01539, allocations: 4 kB / 0.9657 GB, free: 4.008 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000432/0.01582, allocations: 179.5 kB / 0.9658 GB, free: 3.832 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.272e-05/0.01587, allocations: 47.95 kB / 0.9659 GB, free: 3.785 MB / 0.9167 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.0001376/0.01601, allocations: 171.7 kB / 0.966 GB, free: 3.609 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.088e-05/0.01604, allocations: 39.75 kB / 0.9661 GB, free: 3.57 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.616e-05/0.01609, allocations: 29.81 kB / 0.9661 GB, free: 3.539 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.01609, allocations: 4 kB / 0.9661 GB, free: 3.535 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.0161, allocations: 7.938 kB / 0.9661 GB, free: 3.527 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.0161, allocations: 3.984 kB / 0.9661 GB, free: 3.523 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000764/0.01687, allocations: 0.8284 MB / 0.9669 GB, free: 2.648 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.01687, allocations: 4 kB / 0.9669 GB, free: 2.645 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.01698, allocations: 39.97 kB / 0.967 GB, free: 2.605 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.01698, allocations: 0 / 0.967 GB, free: 2.605 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.017, allocations: 15.98 kB / 0.967 GB, free: 2.59 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.017, allocations: 3.938 kB / 0.967 GB, free: 2.586 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.01701, allocations: 7.922 kB / 0.967 GB, free: 2.578 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006619/0.01767, allocations: 0.7116 MB / 0.9677 GB, free: 1.852 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.663e-05/0.0177, allocations: 31.75 kB / 0.9677 GB, free: 1.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.01772, allocations: 8.031 kB / 0.9677 GB, free: 1.812 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.01785, allocations: 23.92 kB / 0.9678 GB, free: 1.789 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/0.0179, allocations: 31.89 kB / 0.9678 GB, free: 1.758 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.01791, allocations: 19.98 kB / 0.9678 GB, free: 1.738 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001044/0.01802, allocations: 183.1 kB / 0.968 GB, free: 1.562 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.01802, allocations: 0 / 0.968 GB, free: 1.562 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003298/0.01835, allocations: 112 kB / 0.9681 GB, free: 1.453 MB / 0.9167 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.0001466/0.0185, allocations: 127 kB / 0.9682 GB, free: 1.32 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000814/0.01931, allocations: 0.9396 MB / 0.9691 GB, free: 276 kB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01931, allocations: 0 / 0.9691 GB, free: 276 kB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.0195, allocations: 151.8 kB / 0.9693 GB, free: 124 kB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004682/0.01997, allocations: 122.9 kB / 0.9694 GB, free: 0 / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007182/0.02069, allocations: 0.6003 MB / 0.97 GB, free: 15.35 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.0208, allocations: 169 kB / 0.9701 GB, free: 15.17 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.267e-05/0.02086, allocations: 44.48 kB / 0.9702 GB, free: 15.12 MB / 0.9323 GB Notification: Performance of SimCode: time 6.91e-07/0.02086, allocations: 0 / 0.9702 GB, free: 15.12 MB / 0.9323 GB Notification: Performance of Templates: time 0.005225/0.02609, allocations: 5.887 MB / 0.9759 GB, free: 9.293 MB / 0.9323 GB " [Timeout remaining time 300] 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] "" 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: 6.912954350933433]