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.001207/0.001207, allocations: 113.9 kB / 16.42 MB, free: 6.449 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.00133/0.00133, allocations: 185.7 kB / 17.35 MB, free: 5.738 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.457/1.457, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.669/2.669, allocations: 461.9 MB / 0.7355 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001482, allocations: 75.89 kB / 1.055 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9966/0.9981, allocations: 157.4 MB / 1.208 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002725/1.001, allocations: 1.291 MB / 1.21 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002497/1.003, allocations: 1.7 MB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002048/1.004, allocations: 3.938 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 8.445e-05/1.004, allocations: 19.69 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002926/1.004, allocations: 83.34 kB / 1.212 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001635/1.006, allocations: 0.6495 MB / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001011/1.007, allocations: 0.7916 MB / 1.213 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/1.007, allocations: 68.72 kB / 1.213 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004728/1.007, allocations: 303.2 kB / 1.213 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004647/1.008, allocations: 279 kB / 1.214 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001695/1.008, allocations: 72 kB / 1.214 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001978/1.008, allocations: 87.98 kB / 1.214 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.819e-05/1.008, allocations: 75.75 kB / 1.214 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002969/1.009, allocations: 263 kB / 1.214 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007218/1.009, allocations: 0.6873 MB / 1.215 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/1.009, allocations: 3.938 kB / 1.215 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.415e-06/1.009, allocations: 0 / 1.215 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.86e-05/1.009, allocations: 0 / 1.215 GB, free: 7.449 MB / 0.9356 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.001614/1.011, allocations: 0.8672 MB / 1.216 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/1.011, allocations: 8.031 kB / 1.216 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001774/1.011, allocations: 48.56 kB / 1.216 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/1.013, allocations: 467.1 kB / 1.216 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.395e-05/1.013, allocations: 28.38 kB / 1.216 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/1.013, allocations: 48.36 kB / 1.216 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000532/1.013, allocations: 220.3 kB / 1.216 GB, free: 5.641 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/1.013, allocations: 0 / 1.216 GB, free: 5.641 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.201e-05/1.014, allocations: 11.98 kB / 1.216 GB, free: 5.629 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/1.014, allocations: 4 kB / 1.216 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003459/1.014, allocations: 123.9 kB / 1.216 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001314/1.015, allocations: 0.9452 MB / 1.217 GB, free: 4.488 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000674/1.016, allocations: 232.1 kB / 1.218 GB, free: 4.234 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000262/1.016, allocations: 110.5 kB / 1.218 GB, free: 4.117 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/1.016, allocations: 0 / 1.218 GB, free: 4.117 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006133/1.017, allocations: 291.1 kB / 1.218 GB, free: 3.812 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=37): time 1.924e-06/1.017, allocations: 0 / 1.218 GB, free: 3.812 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37): time 0.001181/1.018, allocations: 448.9 kB / 1.218 GB, free: 3.367 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/1.018, allocations: 118.9 kB / 1.219 GB, free: 3.227 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002824/1.018, allocations: 262.9 kB / 1.219 GB, free: 2.961 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.000162/1.019, allocations: 49.7 kB / 1.219 GB, free: 2.906 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/1.019, allocations: 160.9 kB / 1.219 GB, free: 2.746 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.00016/1.019, allocations: 98.61 kB / 1.219 GB, free: 2.648 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002735/1.019, allocations: 154 kB / 1.219 GB, free: 2.492 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002377/1.019, allocations: 342.8 kB / 1.22 GB, free: 2.148 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005752/1.02, allocations: 232.7 kB / 1.22 GB, free: 1.918 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006307/1.021, allocations: 388.6 kB / 1.22 GB, free: 1.469 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009446/1.022, allocations: 0.5814 MB / 1.221 GB, free: 0.8086 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/1.022, allocations: 4 kB / 1.221 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001596/1.023, allocations: 0.8432 MB / 1.222 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001329/1.023, allocations: 186.2 kB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/1.023, allocations: 0 / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/1.023, allocations: 11.94 kB / 1.222 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/1.024, allocations: 51.91 kB / 1.222 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.85e-05/1.024, allocations: 7.938 kB / 1.222 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009966/1.025, allocations: 187.6 kB / 1.222 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.249e-05/1.025, allocations: 43.97 kB / 1.222 GB, free: 15.41 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.0002429/1.025, allocations: 169 kB / 1.222 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.602e-05/1.025, allocations: 31.62 kB / 1.222 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.495e-05/1.025, allocations: 37.8 kB / 1.222 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/1.025, allocations: 0 / 1.222 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/1.025, allocations: 4 kB / 1.222 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.307e-05/1.025, allocations: 112.7 kB / 1.222 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.778e-05/1.025, allocations: 8 kB / 1.222 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/1.025, allocations: 11.98 kB / 1.222 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.263e-05/1.026, allocations: 39.88 kB / 1.222 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001502/1.027, allocations: 0.6434 MB / 1.223 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001265/1.028, allocations: 0.7889 MB / 1.224 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003294/1.029, allocations: 153 kB / 1.224 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001717/1.029, allocations: 178 kB / 1.224 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of Backend: time 3.9e-07/1.029, allocations: 0 / 1.224 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001647/1.031, allocations: 0.8331 MB / 1.225 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001421/1.032, allocations: 1.028 MB / 1.226 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of Templates: time 0.01344/1.045, allocations: 7.5 MB / 1.233 GB, free: 3.801 MB / 0.9512 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) Reference file matches