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.001811/0.001811, allocations: 80.61 kB / 19.18 MB, free: 2.516 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.001601/0.001601, allocations: 160 kB / 22.46 MB, free: 5.375 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.537/1.537, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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 2.882/2.882, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 176] 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.785e-06/2.785e-06, allocations: 0 / 0.951 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.481e-05/3.759e-05, allocations: 2.281 kB / 0.951 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.00256/0.002598, allocations: 1.209 MB / 0.9522 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002955/0.005552, allocations: 1.716 MB / 0.9539 GB, free: 8.562 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001471/0.005699, allocations: 8 kB / 0.9539 GB, free: 8.555 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 7.704e-05/0.005777, allocations: 27.61 kB / 0.9539 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002529/0.006029, allocations: 91.28 kB / 0.954 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.007516, allocations: 0.6601 MB / 0.9547 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008532/0.008369, allocations: 0.768 MB / 0.9554 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.008548, allocations: 44.89 kB / 0.9554 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005303/0.009079, allocations: 431.4 kB / 0.9559 GB, free: 6.562 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004157/0.009494, allocations: 231.3 kB / 0.9561 GB, free: 6.336 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001274/0.009622, allocations: 75.94 kB / 0.9562 GB, free: 6.262 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.009798, allocations: 83.97 kB / 0.9562 GB, free: 6.18 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.318e-05/0.009892, allocations: 71.75 kB / 0.9563 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002956/0.01019, allocations: 219.6 kB / 0.9565 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009485/0.01114, allocations: 0.7988 MB / 0.9573 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.01114, allocations: 0 / 0.9573 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/0.01114, allocations: 0 / 0.9573 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.01116, allocations: 0 / 0.9573 GB, free: 5.094 MB / 0.8575 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.001646/0.0128, allocations: 0.8614 MB / 0.9581 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.01285, allocations: 12.03 kB / 0.9581 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/0.01302, allocations: 48.75 kB / 0.9582 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/0.01453, allocations: 400.2 kB / 0.9586 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.554e-05/0.0146, allocations: 32.3 kB / 0.9586 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.01471, allocations: 48.36 kB / 0.9586 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005442/0.01525, allocations: 212.5 kB / 0.9588 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.01527, allocations: 4.188 kB / 0.9589 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.817e-05/0.01529, allocations: 12.36 kB / 0.9589 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.01531, allocations: 8.125 kB / 0.9589 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003439/0.01565, allocations: 119.9 kB / 0.959 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001287/0.01694, allocations: 0.789 MB / 0.9598 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007738/0.01771, allocations: 216.1 kB / 0.96 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002821/0.01799, allocations: 102.5 kB / 0.9601 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.001e-05/0.01803, allocations: 8 kB / 0.9601 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007554/0.01879, allocations: 283.2 kB / 0.9603 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=37): time 2.295e-06/0.01879, allocations: 0 / 0.9603 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=37): time 0.001286/0.02008, allocations: 463.6 kB / 0.9608 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.53e-05/0.02017, allocations: 114.8 kB / 0.9609 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003598/0.02053, allocations: 264.2 kB / 0.9611 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-05/0.02063, allocations: 45.7 kB / 0.9612 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.02081, allocations: 161 kB / 0.9613 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.02091, allocations: 107.2 kB / 0.9614 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002989/0.02121, allocations: 154.1 kB / 0.9616 GB, free: 420 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000193/0.02141, allocations: 358.7 kB / 0.9619 GB, free: 52 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000725/0.02213, allocations: 407 kB / 0.9623 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00108/0.02321, allocations: 0.766 MB / 0.9631 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.02436, allocations: 0.5794 MB / 0.9636 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.02437, allocations: 7.938 kB / 0.9636 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002114/0.02648, allocations: 1.031 MB / 0.9646 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001913/0.02667, allocations: 186.2 kB / 0.9648 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.02669, allocations: 4 kB / 0.9648 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.662e-05/0.02672, allocations: 8 kB / 0.9648 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002695/0.02699, allocations: 51.84 kB / 0.9649 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.027, allocations: 4 kB / 0.9649 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.02804, allocations: 183.7 kB / 0.9651 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.772e-05/0.02813, allocations: 47.97 kB / 0.9651 GB, free: 12.41 MB / 0.8731 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.0003145/0.02845, allocations: 171.7 kB / 0.9653 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.747e-05/0.02853, allocations: 35.77 kB / 0.9653 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.809e-05/0.02861, allocations: 33.8 kB / 0.9653 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.02862, allocations: 4 kB / 0.9653 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.02863, allocations: 0 / 0.9653 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.02864, allocations: 11.98 kB / 0.9654 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00155/0.03019, allocations: 0.8245 MB / 0.9662 GB, free: 11.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.03019, allocations: 0 / 0.9662 GB, free: 11.28 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/0.03042, allocations: 43.97 kB / 0.9662 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.03043, allocations: 0 / 0.9662 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.238e-05/0.03046, allocations: 11.98 kB / 0.9662 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.03047, allocations: 11.94 kB / 0.9662 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.03047, allocations: 3.938 kB / 0.9662 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/0.03174, allocations: 0.7159 MB / 0.9669 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 4.585e-05/0.03178, allocations: 27.75 kB / 0.967 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.94e-05/0.03183, allocations: 16 kB / 0.967 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/0.03207, allocations: 19.92 kB / 0.967 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.435e-05/0.03216, allocations: 27.94 kB / 0.967 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.505e-05/0.03219, allocations: 19.98 kB / 0.967 GB, free: 10.37 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001873/0.03238, allocations: 183 kB / 0.9672 GB, free: 10.19 MB / 0.8731 GB Notification: Performance of sort global known variables: time 7e-08/0.03238, allocations: 0 / 0.9672 GB, free: 10.19 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006316/0.03301, allocations: 112 kB / 0.9673 GB, free: 10.08 MB / 0.8731 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.0002827/0.03329, allocations: 127 kB / 0.9674 GB, free: 9.945 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001619/0.03491, allocations: 0.9345 MB / 0.9684 GB, free: 8.902 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.03492, allocations: 0 / 0.9684 GB, free: 8.902 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003574/0.03527, allocations: 148.7 kB / 0.9685 GB, free: 8.758 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000856/0.03613, allocations: 123.7 kB / 0.9686 GB, free: 8.637 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.03739, allocations: 0.5751 MB / 0.9692 GB, free: 8.031 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001763/0.03757, allocations: 168.7 kB / 0.9693 GB, free: 7.844 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002017/0.03777, allocations: 59.27 kB / 0.9694 GB, free: 7.781 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.513e-05/0.03785, allocations: 40.48 kB / 0.9694 GB, free: 7.742 MB / 0.8731 GB Notification: Performance of SimCode: time 1.223e-06/0.03785, allocations: 0 / 0.9694 GB, free: 7.742 MB / 0.8731 GB Notification: Performance of Templates: time 0.01467/0.05253, allocations: 7.672 MB / 0.9769 GB, free: 288 kB / 0.8731 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] Reference file matches [Calling sys.exit(0), Time elapsed: 8.57506974041462]