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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001422/0.001429, allocations: 105.1 kB / 16.35 MB, free: 5.879 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.001409/0.001409, allocations: 195.5 kB / 17.3 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.495/1.495, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.621/2.621, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 71.28 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3268, allocations: 153 MB / 1.027 GB, free: 2.039 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002376/0.3293, allocations: 1.309 MB / 1.028 GB, free: 0.7305 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002054/0.3313, allocations: 1.682 MB / 1.03 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.524e-05/0.3315, allocations: 4 kB / 1.03 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.521e-05/0.3316, allocations: 27.61 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002162/0.3318, allocations: 83.33 kB / 1.03 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001489/0.3333, allocations: 0.6507 MB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0009192/0.3342, allocations: 0.7993 MB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001895/0.3344, allocations: 68.7 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000323/0.3347, allocations: 299.3 kB / 1.032 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003529/0.3351, allocations: 279.1 kB / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.3352, allocations: 72 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.3354, allocations: 83.92 kB / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.435e-05/0.3354, allocations: 71.77 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002639/0.3357, allocations: 267.1 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006488/0.3364, allocations: 0.6972 MB / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.3364, allocations: 0 / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3364, allocations: 0 / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.332e-05/0.3364, allocations: 0 / 1.033 GB, free: 11.66 MB / 0.8106 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.001361/0.3378, allocations: 0.8645 MB / 1.034 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.3378, allocations: 12.03 kB / 1.034 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001296/0.338, allocations: 44.56 kB / 1.034 GB, free: 10.65 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/0.3394, allocations: 459.3 kB / 1.034 GB, free: 10.17 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.621e-05/0.3394, allocations: 32.36 kB / 1.034 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.3395, allocations: 48.38 kB / 1.034 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004613/0.34, allocations: 217.1 kB / 1.035 GB, free: 9.863 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.34, allocations: 7.875 kB / 1.035 GB, free: 9.855 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.012e-05/0.3401, allocations: 8 kB / 1.035 GB, free: 9.848 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.3401, allocations: 7.938 kB / 1.035 GB, free: 9.84 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003208/0.3404, allocations: 115.9 kB / 1.035 GB, free: 9.727 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001377/0.3418, allocations: 0.9609 MB / 1.036 GB, free: 8.707 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006489/0.3425, allocations: 228.1 kB / 1.036 GB, free: 8.457 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002443/0.3427, allocations: 106.5 kB / 1.036 GB, free: 8.344 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.259e-05/0.3428, allocations: 11.94 kB / 1.036 GB, free: 8.332 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005235/0.3433, allocations: 293.3 kB / 1.036 GB, free: 8.023 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=37): time 2.004e-06/0.3433, allocations: 0 / 1.036 GB, free: 8.023 MB / 0.8106 GB Notification: Performance of matching and sorting (n=37): time 0.00116/0.3445, allocations: 456.4 kB / 1.037 GB, free: 7.574 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.295e-05/0.3446, allocations: 118.8 kB / 1.037 GB, free: 7.434 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002623/0.3448, allocations: 258.9 kB / 1.037 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.501e-05/0.3449, allocations: 45.7 kB / 1.037 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.3451, allocations: 160.9 kB / 1.037 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.883e-05/0.3451, allocations: 102.6 kB / 1.037 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002628/0.3454, allocations: 154 kB / 1.037 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.3456, allocations: 346.8 kB / 1.038 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005321/0.3461, allocations: 220.9 kB / 1.038 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007562/0.3469, allocations: 390.1 kB / 1.038 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008462/0.3477, allocations: 0.5704 MB / 1.039 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/0.3477, allocations: 4 kB / 1.039 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001477/0.3492, allocations: 0.839 MB / 1.04 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001134/0.3493, allocations: 186.2 kB / 1.04 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.3494, allocations: 4 kB / 1.04 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.3494, allocations: 11.94 kB / 1.04 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/0.3496, allocations: 51.89 kB / 1.04 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.3496, allocations: 11.94 kB / 1.04 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008727/0.3505, allocations: 179.4 kB / 1.04 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.538e-05/0.3506, allocations: 43.95 kB / 1.04 GB, free: 3.645 MB / 0.8106 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.0002173/0.3508, allocations: 179.4 kB / 1.04 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.056e-05/0.3509, allocations: 35.61 kB / 1.04 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.983e-05/0.351, allocations: 33.81 kB / 1.04 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.351, allocations: 4 kB / 1.04 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.351, allocations: 0 / 1.04 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.351, allocations: 3.984 kB / 1.04 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.3523, allocations: 0.9226 MB / 1.041 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.3523, allocations: 0 / 1.041 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002208/0.3525, allocations: 47.84 kB / 1.041 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.633e-06/0.3525, allocations: 4 kB / 1.041 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.3525, allocations: 11.98 kB / 1.041 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.3526, allocations: 8 kB / 1.041 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.3526, allocations: 4 kB / 1.041 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.3536, allocations: 0.7053 MB / 1.042 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.898e-05/0.3537, allocations: 108.6 kB / 1.042 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.954e-05/0.3538, allocations: 12.03 kB / 1.042 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.354, allocations: 15.98 kB / 1.042 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.279e-05/0.3541, allocations: 31.95 kB / 1.042 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.633e-05/0.3541, allocations: 16 kB / 1.042 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001603/0.3543, allocations: 186 kB / 1.043 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3543, allocations: 0 / 1.043 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005206/0.3548, allocations: 111.9 kB / 1.043 GB, free: 1.113 MB / 0.8106 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.0002101/0.355, allocations: 127.1 kB / 1.043 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001205/0.3562, allocations: 0.834 MB / 1.044 GB, free: 76 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/0.3562, allocations: 4 kB / 1.044 GB, free: 72 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003266/0.3566, allocations: 151.8 kB / 1.044 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007529/0.3573, allocations: 124 kB / 1.044 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.3585, allocations: 0.5878 MB / 1.044 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.3588, allocations: 0.7728 MB / 1.045 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000191/0.359, allocations: 59.27 kB / 1.045 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.254e-05/0.3591, allocations: 31.44 kB / 1.045 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3591, allocations: 0 / 1.045 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of Templates: time 0.01192/0.371, allocations: 6.974 MB / 1.052 GB, free: 7.398 MB / 0.8262 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 -s cvode -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