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.005953/0.005953, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001234/0.001234, allocations: 196.2 kB / 16.67 MB, free: 5.52 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.436/1.436, allocations: 222.9 MB / 240.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.791/2.791, allocations: 461.9 MB / 0.7348 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 63.91 kB / 1.054 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002/1.003, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.003055/1.006, allocations: 1.29 MB / 1.209 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002641/1.009, allocations: 1.696 MB / 1.211 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000201/1.009, allocations: 4 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 7.717e-05/1.009, allocations: 27.61 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003302/1.01, allocations: 95.27 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001686/1.011, allocations: 0.6479 MB / 1.211 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0009823/1.012, allocations: 0.7877 MB / 1.212 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002239/1.013, allocations: 72.7 kB / 1.212 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004822/1.013, allocations: 299.2 kB / 1.213 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004681/1.013, allocations: 283.1 kB / 1.213 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000176/1.014, allocations: 72 kB / 1.213 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002018/1.014, allocations: 87.92 kB / 1.213 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.273e-05/1.014, allocations: 67.77 kB / 1.213 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003636/1.014, allocations: 267.1 kB / 1.213 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001129/1.015, allocations: 0.6988 MB / 1.214 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/1.015, allocations: 0 / 1.214 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.919e-06/1.015, allocations: 0 / 1.214 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.303e-05/1.016, allocations: 0 / 1.214 GB, free: 7.207 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.001722/1.017, allocations: 0.871 MB / 1.215 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/1.017, allocations: 8.031 kB / 1.215 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/1.017, allocations: 48.56 kB / 1.215 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/1.019, allocations: 463.2 kB / 1.215 GB, free: 5.699 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.877e-05/1.019, allocations: 28.36 kB / 1.215 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.295e-05/1.019, allocations: 40.38 kB / 1.215 GB, free: 5.633 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000467/1.019, allocations: 216.7 kB / 1.216 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/1.019, allocations: 3.938 kB / 1.216 GB, free: 5.402 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/1.02, allocations: 11.94 kB / 1.216 GB, free: 5.391 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/1.02, allocations: 4 kB / 1.216 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003487/1.02, allocations: 115.9 kB / 1.216 GB, free: 5.273 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/1.021, allocations: 0.9609 MB / 1.217 GB, free: 4.254 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008999/1.022, allocations: 224.1 kB / 1.217 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002879/1.022, allocations: 110.5 kB / 1.217 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.254e-05/1.023, allocations: 15.94 kB / 1.217 GB, free: 3.875 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000601/1.023, allocations: 283.1 kB / 1.217 GB, free: 3.578 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=37): time 1.964e-06/1.023, allocations: 0 / 1.217 GB, free: 3.578 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37): time 0.001173/1.024, allocations: 457 kB / 1.218 GB, free: 3.125 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.891e-05/1.024, allocations: 114.7 kB / 1.218 GB, free: 2.988 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002995/1.025, allocations: 266.9 kB / 1.218 GB, free: 2.719 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.038e-05/1.025, allocations: 45.7 kB / 1.218 GB, free: 2.668 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/1.025, allocations: 152.9 kB / 1.218 GB, free: 2.516 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.248e-05/1.025, allocations: 106.5 kB / 1.218 GB, free: 2.41 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002558/1.025, allocations: 150 kB / 1.219 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.00017/1.026, allocations: 350.8 kB / 1.219 GB, free: 1.906 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005557/1.026, allocations: 220.9 kB / 1.219 GB, free: 1.688 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006606/1.027, allocations: 392.6 kB / 1.219 GB, free: 1.234 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009695/1.028, allocations: 0.5663 MB / 1.22 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/1.028, allocations: 0 / 1.22 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001597/1.029, allocations: 0.8448 MB / 1.221 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001346/1.03, allocations: 190.2 kB / 1.221 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/1.03, allocations: 4 kB / 1.221 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/1.03, allocations: 11.92 kB / 1.221 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/1.03, allocations: 51.89 kB / 1.221 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/1.03, allocations: 7.938 kB / 1.221 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009572/1.031, allocations: 179.4 kB / 1.221 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.62e-05/1.031, allocations: 51.95 kB / 1.221 GB, free: 15.18 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.0002634/1.031, allocations: 167.5 kB / 1.221 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.067e-05/1.031, allocations: 35.61 kB / 1.221 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.191e-05/1.031, allocations: 29.81 kB / 1.222 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/1.031, allocations: 4 kB / 1.222 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/1.031, allocations: 4 kB / 1.222 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/1.031, allocations: 3.984 kB / 1.222 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/1.033, allocations: 0.9377 MB / 1.222 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/1.033, allocations: 8 kB / 1.222 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002237/1.033, allocations: 39.91 kB / 1.223 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/1.033, allocations: 0 / 1.223 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/1.033, allocations: 15.98 kB / 1.223 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/1.033, allocations: 4 kB / 1.223 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.033, allocations: 0 / 1.223 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/1.034, allocations: 0.7196 MB / 1.223 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.069e-05/1.034, allocations: 104.7 kB / 1.223 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.024e-05/1.034, allocations: 12.22 kB / 1.223 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/1.035, allocations: 15.98 kB / 1.223 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.991e-05/1.035, allocations: 35.89 kB / 1.223 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.639e-05/1.035, allocations: 16 kB / 1.223 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001743/1.035, allocations: 178 kB / 1.224 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/1.035, allocations: 4 kB / 1.224 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000565/1.036, allocations: 115.9 kB / 1.224 GB, free: 12.64 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.0002333/1.036, allocations: 123.2 kB / 1.224 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001328/1.037, allocations: 0.84 MB / 1.225 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/1.037, allocations: 0 / 1.225 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003594/1.038, allocations: 155.8 kB / 1.225 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007957/1.038, allocations: 115.2 kB / 1.225 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/1.04, allocations: 0.5916 MB / 1.225 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/1.04, allocations: 0.7728 MB / 1.226 GB, free: 9.914 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002031/1.04, allocations: 59.34 kB / 1.226 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.787e-05/1.04, allocations: 39.44 kB / 1.226 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of SimCode: time 3.6e-07/1.04, allocations: 0 / 1.226 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of Templates: time 0.01256/1.053, allocations: 7.004 MB / 1.233 GB, free: 2.902 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/jenkins/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