Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001551/0.001551, allocations: 110.5 kB / 16.42 MB, free: 6.504 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.001753/0.001753, allocations: 185.4 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.446/1.446, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.592/2.592, allocations: 437 MB / 0.7112 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 63.91 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9673/0.9689, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.003943/0.9729, allocations: 1.299 MB / 1.169 GB, free: 2.562 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003223/0.9761, allocations: 1.701 MB / 1.17 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002083/0.9764, allocations: 0 / 1.17 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 7.998e-05/0.9765, allocations: 23.67 kB / 1.17 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003418/0.9768, allocations: 91.36 kB / 1.17 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001752/0.9786, allocations: 0.6487 MB / 1.171 GB, free: 104 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001095/0.9797, allocations: 0.7955 MB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002088/0.9799, allocations: 72.59 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005534/0.9805, allocations: 299.3 kB / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000559/0.9811, allocations: 283.1 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000235/0.9813, allocations: 72 kB / 1.173 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002606/0.9816, allocations: 83.98 kB / 1.173 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.9817, allocations: 83.67 kB / 1.173 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003934/0.9821, allocations: 255.1 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009692/0.9831, allocations: 0.6911 MB / 1.174 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.9831, allocations: 0 / 1.174 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9831, allocations: 0 / 1.174 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.41e-05/0.9831, allocations: 0 / 1.174 GB, free: 13.49 MB / 0.9044 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.002319/0.9855, allocations: 0.8711 MB / 1.174 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.483e-05/0.9855, allocations: 12.88 kB / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002868/0.9858, allocations: 56.55 kB / 1.175 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002087/0.9879, allocations: 451.4 kB / 1.175 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.407e-05/0.988, allocations: 32.23 kB / 1.175 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001924/0.9882, allocations: 44.36 kB / 1.175 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006827/0.9889, allocations: 217.8 kB / 1.175 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.9889, allocations: 3.938 kB / 1.175 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.945e-05/0.989, allocations: 11.98 kB / 1.175 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.989, allocations: 4 kB / 1.175 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004855/0.9895, allocations: 123.9 kB / 1.175 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001949/0.9915, allocations: 0.9492 MB / 1.176 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009828/0.9925, allocations: 228.1 kB / 1.177 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003817/0.9929, allocations: 110.5 kB / 1.177 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.058e-05/0.9929, allocations: 7.984 kB / 1.177 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007604/0.9937, allocations: 287.1 kB / 1.177 GB, free: 9.859 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=37): time 4.168e-06/0.9937, allocations: 0 / 1.177 GB, free: 9.859 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37): time 0.001683/0.9954, allocations: 455.9 kB / 1.177 GB, free: 9.41 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.057e-05/0.9955, allocations: 118.7 kB / 1.177 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003563/0.9959, allocations: 262.9 kB / 1.178 GB, free: 9.004 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001141/0.996, allocations: 49.7 kB / 1.178 GB, free: 8.949 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.9962, allocations: 160.9 kB / 1.178 GB, free: 8.785 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.9963, allocations: 102.5 kB / 1.178 GB, free: 8.684 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003532/0.9967, allocations: 154 kB / 1.178 GB, free: 8.527 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.9969, allocations: 342.8 kB / 1.178 GB, free: 8.184 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007946/0.9977, allocations: 228.8 kB / 1.179 GB, free: 7.957 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000936/0.9987, allocations: 392.5 kB / 1.179 GB, free: 7.508 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001297/1, allocations: 0.5714 MB / 1.18 GB, free: 6.855 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.84e-06/1, allocations: 0 / 1.18 GB, free: 6.855 MB / 0.9044 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002204/1.002, allocations: 0.8464 MB / 1.18 GB, free: 5.969 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.000158/1.002, allocations: 182.2 kB / 1.181 GB, free: 5.754 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/1.002, allocations: 7.984 kB / 1.181 GB, free: 5.746 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.837e-05/1.002, allocations: 7.938 kB / 1.181 GB, free: 5.738 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000308/1.003, allocations: 55.84 kB / 1.181 GB, free: 5.684 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.951e-05/1.003, allocations: 7.984 kB / 1.181 GB, free: 5.676 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/1.004, allocations: 179.7 kB / 1.181 GB, free: 5.5 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/1.004, allocations: 47.97 kB / 1.181 GB, free: 5.453 MB / 0.9044 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.0003104/1.005, allocations: 175.5 kB / 1.181 GB, free: 5.273 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.922e-05/1.005, allocations: 27.62 kB / 1.181 GB, free: 5.246 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/1.005, allocations: 33.86 kB / 1.181 GB, free: 5.211 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.916e-05/1.005, allocations: 3.938 kB / 1.181 GB, free: 5.207 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/1.005, allocations: 8 kB / 1.181 GB, free: 5.199 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/1.005, allocations: 112.7 kB / 1.181 GB, free: 5.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.171e-05/1.005, allocations: 8 kB / 1.181 GB, free: 5.062 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/1.005, allocations: 11.98 kB / 1.181 GB, free: 5.051 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/1.005, allocations: 35.89 kB / 1.181 GB, free: 5.016 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001978/1.007, allocations: 0.6398 MB / 1.182 GB, free: 4.367 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001687/1.009, allocations: 0.7997 MB / 1.183 GB, free: 3.551 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000468/1.01, allocations: 147.9 kB / 1.183 GB, free: 3.406 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002374/1.01, allocations: 174 kB / 1.183 GB, free: 3.234 MB / 0.9044 GB Notification: Performance of Backend: time 7.31e-07/1.01, allocations: 0 / 1.183 GB, free: 3.234 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002404/1.012, allocations: 0.8347 MB / 1.184 GB, free: 2.32 MB / 0.9044 GB Notification: Performance of SimCode: time 0.002054/1.014, allocations: 1.027 MB / 1.185 GB, free: 1.238 MB / 0.9044 GB Notification: Performance of Templates: time 0.0174/1.032, allocations: 7.493 MB / 1.192 GB, free: 9.836 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches