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.001196/0.001197, allocations: 98.83 kB / 15.05 MB, free: 1.105 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.001422/0.001422, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.815/2.815, allocations: 436.5 MB / 0.7104 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003792/0.0003793, allocations: 12 kB / 0.8708 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8325/0.8329, allocations: 153.6 MB / 1.021 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.001523/0.8345, allocations: 0.943 MB / 1.022 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002224/0.8367, allocations: 1.561 MB / 1.023 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.8369, allocations: 0 / 1.023 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.715e-05/0.8369, allocations: 15.81 kB / 1.023 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002381/0.8372, allocations: 79.78 kB / 1.023 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.8386, allocations: 0.5648 MB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004386/0.8391, allocations: 375.4 kB / 1.024 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.8393, allocations: 68.67 kB / 1.024 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000259/0.8395, allocations: 235.4 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003067/0.8398, allocations: 211.3 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.295e-05/0.8399, allocations: 32 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.84, allocations: 43.98 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.962e-05/0.8401, allocations: 55.75 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.8402, allocations: 93.58 kB / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004639/0.8407, allocations: 0.4966 MB / 1.025 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.8407, allocations: 0 / 1.025 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.333e-06/0.8407, allocations: 11.94 kB / 1.025 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.8407, allocations: 0 / 1.025 GB, free: 12.34 MB / 0.7794 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.001338/0.8421, allocations: 0.7968 MB / 1.026 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/0.8421, allocations: 11.98 kB / 1.026 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001654/0.8423, allocations: 47.62 kB / 1.026 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001622/0.8439, allocations: 468.6 kB / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.81e-05/0.844, allocations: 35.94 kB / 1.027 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.8441, allocations: 47.91 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000526/0.8447, allocations: 215.9 kB / 1.027 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.8447, allocations: 4 kB / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.435e-05/0.8448, allocations: 4 kB / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.8448, allocations: 4 kB / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003233/0.8451, allocations: 123.9 kB / 1.027 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001503/0.8466, allocations: 0.9649 MB / 1.028 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007043/0.8473, allocations: 228.1 kB / 1.028 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.852e-05/0.8474, allocations: 4 kB / 1.028 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006776/0.8481, allocations: 293.4 kB / 1.029 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=37): time 2.314e-06/0.8481, allocations: 0 / 1.029 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37): time 0.001176/0.8493, allocations: 461.6 kB / 1.029 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.63e-05/0.8493, allocations: 110.8 kB / 1.029 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002709/0.8496, allocations: 263 kB / 1.029 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.803e-05/0.8497, allocations: 49.7 kB / 1.029 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.8498, allocations: 152.9 kB / 1.03 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.446e-05/0.8499, allocations: 98.69 kB / 1.03 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-05/0.85, allocations: 20 kB / 1.03 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.8501, allocations: 346.8 kB / 1.03 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004879/0.8506, allocations: 216.9 kB / 1.03 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006278/0.8513, allocations: 388.6 kB / 1.031 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000682/0.852, allocations: 392 kB / 1.031 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.852, allocations: 0 / 1.031 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001634/0.8536, allocations: 0.8454 MB / 1.032 GB, free: 5.395 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001367/0.8538, allocations: 194.2 kB / 1.032 GB, free: 5.168 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.8538, allocations: 0 / 1.032 GB, free: 5.168 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.8538, allocations: 8 kB / 1.032 GB, free: 5.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.854, allocations: 51.84 kB / 1.032 GB, free: 5.109 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.8541, allocations: 4 kB / 1.032 GB, free: 5.105 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.8551, allocations: 243.7 kB / 1.032 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.944e-05/0.8552, allocations: 48.11 kB / 1.032 GB, free: 4.82 MB / 0.7794 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,$whenCondition15,$PRE.booPul1.y,booPul1.y,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition10,$PRE.booPul2.y,booPul2.y,$PRE.pul1.booPul.y,pul1.booPul.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition5,$PRE.pul2.booPul.y,pul2.booPul.y,$PRE.booPul5.y,booPul5.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002534/0.8554, allocations: 171.5 kB / 1.033 GB, free: 4.641 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.168e-05/0.8555, allocations: 39.5 kB / 1.033 GB, free: 4.602 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.597e-05/0.8556, allocations: 29.86 kB / 1.033 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.8556, allocations: 8 kB / 1.033 GB, free: 4.562 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.8556, allocations: 0 / 1.033 GB, free: 4.562 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.8556, allocations: 0 / 1.033 GB, free: 4.562 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.8569, allocations: 0.9261 MB / 1.034 GB, free: 3.578 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/0.857, allocations: 4 kB / 1.034 GB, free: 3.574 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002135/0.8572, allocations: 47.84 kB / 1.034 GB, free: 3.527 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.8572, allocations: 0 / 1.034 GB, free: 3.527 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.761e-05/0.8572, allocations: 15.98 kB / 1.034 GB, free: 3.512 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.8572, allocations: 0 / 1.034 GB, free: 3.512 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.8572, allocations: 0 / 1.034 GB, free: 3.512 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.8583, allocations: 0.7319 MB / 1.034 GB, free: 2.746 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.255e-05/0.8584, allocations: 104.7 kB / 1.034 GB, free: 2.625 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.589e-05/0.8585, allocations: 11.95 kB / 1.034 GB, free: 2.613 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.8587, allocations: 23.97 kB / 1.034 GB, free: 2.59 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.148e-05/0.8588, allocations: 23.97 kB / 1.034 GB, free: 2.566 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.26e-05/0.8588, allocations: 19.98 kB / 1.034 GB, free: 2.547 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001634/0.859, allocations: 178 kB / 1.035 GB, free: 2.371 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.859, allocations: 0 / 1.035 GB, free: 2.371 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006422/0.8596, allocations: 111.9 kB / 1.035 GB, free: 2.262 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003266/0.86, allocations: 123.2 kB / 1.035 GB, free: 2.133 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001527/0.8615, allocations: 0.8436 MB / 1.036 GB, free: 1.215 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.8615, allocations: 0.75 kB / 1.036 GB, free: 1.215 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003618/0.8619, allocations: 155.8 kB / 1.036 GB, free: 1.062 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006713/0.8626, allocations: 103.1 kB / 1.036 GB, free: 0.9609 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.8639, allocations: 0.6582 MB / 1.037 GB, free: 280 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00045/0.8644, allocations: 0.7808 MB / 1.037 GB, free: 15.46 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002625/0.8647, allocations: 51.28 kB / 1.037 GB, free: 15.41 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.167e-05/0.8648, allocations: 43.36 kB / 1.037 GB, free: 15.38 MB / 0.795 GB Notification: Performance of SimCode: time 1.272e-06/0.8648, allocations: 0 / 1.037 GB, free: 15.38 MB / 0.795 GB Notification: Performance of Templates: time 0.01414/0.8789, allocations: 6.349 MB / 1.044 GB, free: 9.117 MB / 0.795 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches