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.001046/0.001046, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008388/0.008388, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.51/1.51, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.877/2.877, allocations: 462.7 MB / 0.7364 GB, free: 264 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003658/0.0003657, allocations: 16.47 kB / 0.9028 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3267, allocations: 159.6 MB / 1.059 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.001487/0.3283, allocations: 0.9943 MB / 1.06 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00259/0.3309, allocations: 1.775 MB / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001591/0.331, allocations: 4 kB / 1.061 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.551e-05/0.3311, allocations: 7.875 kB / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002271/0.3313, allocations: 63.48 kB / 1.061 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.3328, allocations: 0.6095 MB / 1.062 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0007874/0.3336, allocations: 0.6588 MB / 1.063 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001836/0.3338, allocations: 56.73 kB / 1.063 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000431/0.3343, allocations: 247.3 kB / 1.063 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003321/0.3346, allocations: 223.1 kB / 1.063 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.287e-05/0.3347, allocations: 32 kB / 1.063 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.3349, allocations: 43.98 kB / 1.063 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.117e-05/0.3349, allocations: 55.7 kB / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002671/0.3352, allocations: 244.8 kB / 1.064 GB, free: 480 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006702/0.3359, allocations: 0.6428 MB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3359, allocations: 0 / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.314e-06/0.3359, allocations: 0 / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.264e-05/0.3359, allocations: 0 / 1.064 GB, free: 15.82 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.001337/0.3373, allocations: 0.7894 MB / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.3373, allocations: 8.031 kB / 1.065 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.3375, allocations: 52.55 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001568/0.3391, allocations: 477.1 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.171e-05/0.3391, allocations: 28.38 kB / 1.066 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.3393, allocations: 48.36 kB / 1.066 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005436/0.3398, allocations: 221.5 kB / 1.066 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.3398, allocations: 3.938 kB / 1.066 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.12e-05/0.3399, allocations: 11.92 kB / 1.066 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.3399, allocations: 4 kB / 1.066 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003693/0.3403, allocations: 127.9 kB / 1.066 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.3417, allocations: 0.953 MB / 1.067 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007137/0.3424, allocations: 236.1 kB / 1.067 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002705/0.3427, allocations: 114.5 kB / 1.067 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.075e-05/0.3427, allocations: 4 kB / 1.067 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005581/0.3433, allocations: 285.3 kB / 1.067 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=37): time 2.004e-06/0.3433, allocations: 0 / 1.067 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37): time 0.001211/0.3445, allocations: 460.9 kB / 1.068 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.664e-05/0.3446, allocations: 114.8 kB / 1.068 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002977/0.3449, allocations: 262.9 kB / 1.068 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 8.658e-05/0.345, allocations: 45.7 kB / 1.068 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.3452, allocations: 156.9 kB / 1.068 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.878e-05/0.3453, allocations: 106.6 kB / 1.069 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.3454, allocations: 69.61 kB / 1.069 GB, free: 11 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.3456, allocations: 342.8 kB / 1.069 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005809/0.3462, allocations: 224.8 kB / 1.069 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006718/0.3469, allocations: 384.7 kB / 1.07 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009686/0.3479, allocations: 0.5769 MB / 1.07 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.3479, allocations: 3.984 kB / 1.07 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001687/0.3496, allocations: 0.8445 MB / 1.071 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001246/0.3497, allocations: 186.2 kB / 1.071 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.3497, allocations: 4 kB / 1.071 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.3497, allocations: 7.938 kB / 1.071 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.35, allocations: 51.89 kB / 1.071 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/0.35, allocations: 7.938 kB / 1.071 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/0.3511, allocations: 239.5 kB / 1.071 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.003e-05/0.3512, allocations: 39.97 kB / 1.071 GB, free: 7.883 MB / 0.8262 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.0002672/0.3515, allocations: 179.5 kB / 1.072 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.893e-05/0.3515, allocations: 31.62 kB / 1.072 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.779e-05/0.3516, allocations: 37.8 kB / 1.072 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.3516, allocations: 4 kB / 1.072 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.3516, allocations: 0 / 1.072 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.3517, allocations: 3.984 kB / 1.072 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001525/0.3532, allocations: 0.9222 MB / 1.073 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.3532, allocations: 0 / 1.073 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002397/0.3535, allocations: 47.89 kB / 1.073 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.3535, allocations: 0 / 1.073 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.742e-05/0.3535, allocations: 15.98 kB / 1.073 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.3535, allocations: 4 kB / 1.073 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.3535, allocations: 4 kB / 1.073 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.3548, allocations: 0.7098 MB / 1.073 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.735e-05/0.3549, allocations: 108.7 kB / 1.073 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.916e-05/0.3549, allocations: 11.97 kB / 1.073 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.3552, allocations: 19.92 kB / 1.073 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.984e-05/0.3553, allocations: 27.97 kB / 1.073 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-05/0.3553, allocations: 19.98 kB / 1.074 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001784/0.3555, allocations: 186 kB / 1.074 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2e-07/0.3555, allocations: 0 / 1.074 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00057/0.3561, allocations: 111.9 kB / 1.074 GB, free: 5.348 MB / 0.8262 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.0002529/0.3563, allocations: 115.3 kB / 1.074 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001487/0.3578, allocations: 0.8358 MB / 1.075 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.3578, allocations: 4 kB / 1.075 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003816/0.3582, allocations: 163.3 kB / 1.075 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008857/0.3591, allocations: 113.6 kB / 1.075 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.3604, allocations: 0.6892 MB / 1.076 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/0.3608, allocations: 0.773 MB / 1.076 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002551/0.3611, allocations: 55.28 kB / 1.076 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.898e-05/0.3612, allocations: 35.42 kB / 1.076 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of SimCode: time 5.11e-07/0.3612, allocations: 3.938 kB / 1.077 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of Templates: time 0.01362/0.3748, allocations: 6.632 MB / 1.083 GB, free: 11.89 MB / 0.8419 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