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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001277/0.001277, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.478/1.478, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.943/2.943, allocations: 472.6 MB / 0.7451 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001216, allocations: 64.81 kB / 0.9121 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3352, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.00312/0.3383, allocations: 1.285 MB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002411/0.3408, allocations: 1.704 MB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002162/0.341, allocations: 0 / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.427e-05/0.3411, allocations: 19.69 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002925/0.3414, allocations: 83.33 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001696/0.3431, allocations: 0.6422 MB / 1.072 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0009302/0.3441, allocations: 0.7877 MB / 1.073 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002356/0.3443, allocations: 80.47 kB / 1.073 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004811/0.3448, allocations: 295.3 kB / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004072/0.3452, allocations: 243.2 kB / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001982/0.3454, allocations: 68 kB / 1.073 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002175/0.3457, allocations: 91.98 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.899e-05/0.3458, allocations: 75.69 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000336/0.3461, allocations: 263.1 kB / 1.074 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000805/0.3469, allocations: 0.682 MB / 1.074 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3469, allocations: 0 / 1.074 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3469, allocations: 0 / 1.074 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.827e-05/0.347, allocations: 0 / 1.074 GB, free: 4.113 MB / 0.8262 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.001666/0.3486, allocations: 0.861 MB / 1.075 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.3487, allocations: 12.03 kB / 1.075 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000172/0.3489, allocations: 52.55 kB / 1.075 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001617/0.3505, allocations: 475.1 kB / 1.076 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.679e-05/0.3506, allocations: 32.38 kB / 1.076 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.3507, allocations: 48.3 kB / 1.076 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004935/0.3512, allocations: 208.7 kB / 1.076 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.3512, allocations: 7.938 kB / 1.076 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.103e-05/0.3512, allocations: 15.97 kB / 1.076 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.3512, allocations: 3.938 kB / 1.076 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000349/0.3516, allocations: 119.9 kB / 1.076 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/0.353, allocations: 0.957 MB / 1.077 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000738/0.3537, allocations: 224.1 kB / 1.077 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002831/0.354, allocations: 110.5 kB / 1.077 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.108e-05/0.3541, allocations: 4 kB / 1.077 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005626/0.3546, allocations: 295.2 kB / 1.078 GB, free: 476 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=37): time 2.104e-06/0.3546, allocations: 0 / 1.078 GB, free: 476 kB / 0.8262 GB Notification: Performance of matching and sorting (n=37): time 0.00125/0.3559, allocations: 461.6 kB / 1.078 GB, free: 8 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.53e-05/0.356, allocations: 110.8 kB / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002876/0.3563, allocations: 262.9 kB / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001001/0.3564, allocations: 53.7 kB / 1.079 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.3566, allocations: 160.8 kB / 1.079 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.3567, allocations: 102.6 kB / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003213/0.357, allocations: 146 kB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3572, allocations: 346.8 kB / 1.079 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005766/0.3578, allocations: 224.8 kB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000682/0.3584, allocations: 392.7 kB / 1.08 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009694/0.3594, allocations: 0.5748 MB / 1.08 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.3594, allocations: 0 / 1.08 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0017/0.3611, allocations: 0.8449 MB / 1.081 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001265/0.3613, allocations: 186.2 kB / 1.081 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.3613, allocations: 4 kB / 1.081 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.31e-05/0.3614, allocations: 7.938 kB / 1.081 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/0.3616, allocations: 55.84 kB / 1.081 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.3616, allocations: 4.25 kB / 1.081 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009767/0.3626, allocations: 183.4 kB / 1.082 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.119e-05/0.3627, allocations: 47.97 kB / 1.082 GB, free: 12.07 MB / 0.8419 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.0002543/0.363, allocations: 175.6 kB / 1.082 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.616e-05/0.363, allocations: 27.62 kB / 1.082 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.211e-05/0.3631, allocations: 45.73 kB / 1.082 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.3631, allocations: 8 kB / 1.082 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.3632, allocations: 0 / 1.082 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.3632, allocations: 4 kB / 1.082 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/0.3646, allocations: 0.9199 MB / 1.083 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.3646, allocations: 4 kB / 1.083 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00029/0.3649, allocations: 39.95 kB / 1.083 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.3649, allocations: 0 / 1.083 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.519e-05/0.365, allocations: 16 kB / 1.083 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.104e-06/0.365, allocations: 7.938 kB / 1.083 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.365, allocations: 0 / 1.083 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.3662, allocations: 0.7118 MB / 1.084 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.542e-05/0.3663, allocations: 104.7 kB / 1.084 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.355e-05/0.3664, allocations: 16 kB / 1.084 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002503/0.3666, allocations: 16.02 kB / 1.084 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.931e-05/0.3667, allocations: 31.91 kB / 1.084 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-05/0.3668, allocations: 15.98 kB / 1.084 GB, free: 9.828 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002043/0.367, allocations: 185.9 kB / 1.084 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.367, allocations: 0 / 1.084 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006963/0.3677, allocations: 115.8 kB / 1.084 GB, free: 9.535 MB / 0.8419 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.000259/0.3679, allocations: 131.6 kB / 1.084 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001688/0.3696, allocations: 0.8402 MB / 1.085 GB, free: 8.484 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 9.899e-06/0.3697, allocations: 7.984 kB / 1.085 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004108/0.3701, allocations: 161.4 kB / 1.085 GB, free: 8.32 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008831/0.371, allocations: 115.4 kB / 1.085 GB, free: 8.211 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.3724, allocations: 0.5878 MB / 1.086 GB, free: 7.59 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005793/0.373, allocations: 0.7767 MB / 1.087 GB, free: 6.785 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003463/0.3734, allocations: 55.27 kB / 1.087 GB, free: 6.73 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.81e-05/0.3735, allocations: 31.44 kB / 1.087 GB, free: 6.699 MB / 0.8419 GB Notification: Performance of SimCode: time 8.72e-07/0.3735, allocations: 0 / 1.087 GB, free: 6.699 MB / 0.8419 GB Notification: Performance of Templates: time 0.01621/0.3897, allocations: 6.994 MB / 1.094 GB, free: 15.8 MB / 0.8575 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