Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramUp.u|ramUp.y|ramUp1.y|ramUp.active|ramUpDow.u|ramUpDow.y|ramUpDow.active|ramUpDow1.u|ramUpDow1.y|ramUpDow1.active",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramUp.u|ramUp.y|ramUp1.y|ramUp.active|ramUpDow.u|ramUpDow.y|ramUpDow.active|ramUpDow1.u|ramUpDow1.y|ramUpDow1.active",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 106.6 kB / 16.41 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 189.7 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.632/2.632, allocations: 469.4 MB / 0.7428 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 67.89 kB / 1.066 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9596/0.9617, allocations: 159.1 MB / 1.221 GB, free: 2.383 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002491/0.9642, allocations: 1.288 MB / 1.222 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002273/0.9665, allocations: 1.697 MB / 1.224 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.9666, allocations: 0 / 1.224 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 6.708e-05/0.9667, allocations: 23.67 kB / 1.224 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002058/0.9669, allocations: 95.33 kB / 1.224 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001417/0.9684, allocations: 0.6514 MB / 1.225 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0007951/0.9692, allocations: 0.7955 MB / 1.225 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.9693, allocations: 68.72 kB / 1.225 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002916/0.9696, allocations: 295.3 kB / 1.226 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003802/0.97, allocations: 291 kB / 1.226 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.9701, allocations: 72 kB / 1.226 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.9703, allocations: 79.98 kB / 1.226 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.404e-05/0.9704, allocations: 75.7 kB / 1.226 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002531/0.9706, allocations: 259.1 kB / 1.226 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006571/0.9713, allocations: 0.6988 MB / 1.227 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.9713, allocations: 4 kB / 1.227 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.432e-06/0.9713, allocations: 0 / 1.227 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.816e-06/0.9713, allocations: 0 / 1.227 GB, free: 12.01 MB / 0.9512 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.001356/0.9727, allocations: 0.871 MB / 1.228 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.9728, allocations: 8.625 kB / 1.228 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.9729, allocations: 52.56 kB / 1.228 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/0.9743, allocations: 459.2 kB / 1.229 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.682e-05/0.9743, allocations: 32.36 kB / 1.229 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.9744, allocations: 40.38 kB / 1.229 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00045/0.9749, allocations: 221.6 kB / 1.229 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.9749, allocations: 3.938 kB / 1.229 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.975, allocations: 12 kB / 1.229 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.975, allocations: 4 kB / 1.229 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003129/0.9753, allocations: 119.9 kB / 1.229 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/0.9765, allocations: 0.9532 MB / 1.23 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006776/0.9772, allocations: 231.9 kB / 1.23 GB, free: 8.805 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000244/0.9775, allocations: 106.5 kB / 1.23 GB, free: 8.691 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.9775, allocations: 4 kB / 1.23 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000556/0.9781, allocations: 303 kB / 1.23 GB, free: 8.371 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=37): time 5.761e-06/0.9781, allocations: 0 / 1.23 GB, free: 8.371 MB / 0.9512 GB Notification: Performance of matching and sorting (n=37): time 0.001096/0.9792, allocations: 452.3 kB / 1.231 GB, free: 7.926 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.062e-05/0.9793, allocations: 126.7 kB / 1.231 GB, free: 7.777 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000259/0.9795, allocations: 262.9 kB / 1.231 GB, free: 7.508 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.341e-05/0.9796, allocations: 49.64 kB / 1.231 GB, free: 7.453 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.9798, allocations: 152.9 kB / 1.231 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.752e-05/0.9799, allocations: 106.6 kB / 1.232 GB, free: 7.195 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002517/0.9801, allocations: 150 kB / 1.232 GB, free: 7.043 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.9803, allocations: 346.8 kB / 1.232 GB, free: 6.695 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005474/0.9808, allocations: 224.9 kB / 1.232 GB, free: 6.477 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006172/0.9815, allocations: 388.6 kB / 1.233 GB, free: 6.031 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008727/0.9823, allocations: 0.5698 MB / 1.233 GB, free: 5.383 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.9824, allocations: 0 / 1.233 GB, free: 5.383 MB / 0.9512 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001544/0.9839, allocations: 0.8405 MB / 1.234 GB, free: 4.5 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001218/0.984, allocations: 184.7 kB / 1.234 GB, free: 4.285 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.984, allocations: 4.375 kB / 1.234 GB, free: 4.281 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/0.9841, allocations: 11.94 kB / 1.234 GB, free: 4.27 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.9843, allocations: 59.83 kB / 1.234 GB, free: 4.211 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.9843, allocations: 4 kB / 1.234 GB, free: 4.207 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008922/0.9852, allocations: 179.5 kB / 1.234 GB, free: 4.031 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.726e-05/0.9853, allocations: 43.95 kB / 1.234 GB, free: 3.988 MB / 0.9512 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.0002209/0.9855, allocations: 176 kB / 1.235 GB, free: 3.809 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.338e-05/0.9856, allocations: 35.61 kB / 1.235 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.133e-05/0.9857, allocations: 33.75 kB / 1.235 GB, free: 3.738 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.9857, allocations: 4 kB / 1.235 GB, free: 3.734 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.9857, allocations: 4 kB / 1.235 GB, free: 3.73 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.9857, allocations: 3.984 kB / 1.235 GB, free: 3.727 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.9871, allocations: 0.9264 MB / 1.236 GB, free: 2.738 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.9871, allocations: 0 / 1.236 GB, free: 2.738 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/0.9873, allocations: 43.91 kB / 1.236 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.9873, allocations: 4 kB / 1.236 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/0.9873, allocations: 11.98 kB / 1.236 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.9873, allocations: 0 / 1.236 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.9874, allocations: 4 kB / 1.236 GB, free: 2.676 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.9884, allocations: 0.7159 MB / 1.236 GB, free: 1.941 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.644e-05/0.9885, allocations: 104.7 kB / 1.236 GB, free: 1.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.486e-05/0.9886, allocations: 12.03 kB / 1.236 GB, free: 1.809 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002524/0.9888, allocations: 15.98 kB / 1.237 GB, free: 1.793 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.807e-05/0.9889, allocations: 31.95 kB / 1.237 GB, free: 1.762 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.587e-05/0.9889, allocations: 16 kB / 1.237 GB, free: 1.746 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001684/0.9891, allocations: 178 kB / 1.237 GB, free: 1.57 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9891, allocations: 4 kB / 1.237 GB, free: 1.566 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005294/0.9897, allocations: 115.9 kB / 1.237 GB, free: 1.453 MB / 0.9512 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.0002063/0.9899, allocations: 127.2 kB / 1.237 GB, free: 1.32 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001296/0.9912, allocations: 0.8468 MB / 1.238 GB, free: 412 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.9912, allocations: 4 kB / 1.238 GB, free: 408 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003595/0.9916, allocations: 159.8 kB / 1.238 GB, free: 248 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007721/0.9923, allocations: 117.5 kB / 1.238 GB, free: 128 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.9935, allocations: 0.6207 MB / 1.239 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.9939, allocations: 0.7806 MB / 1.239 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.994, allocations: 39.42 kB / 1.239 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of SimCode: time 1.864e-06/0.994, allocations: 4 kB / 1.239 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of Templates: time 0.00941/1.003, allocations: 5.784 MB / 1.245 GB, free: 8.883 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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