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.001292/0.001293, allocations: 104.3 kB / 16.35 MB, free: 5.824 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.00121/0.00121, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.543/2.543, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 67.94 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3267, allocations: 153 MB / 1.027 GB, free: 2.035 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.00276/0.3295, allocations: 1.304 MB / 1.028 GB, free: 0.7344 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002108/0.3316, allocations: 1.693 MB / 1.03 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.347e-05/0.3317, allocations: 4 kB / 1.03 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.717e-05/0.3318, allocations: 23.67 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.332, allocations: 83.33 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.3334, allocations: 0.6477 MB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0007742/0.3341, allocations: 0.7915 MB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001834/0.3343, allocations: 72.69 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002824/0.3346, allocations: 303.3 kB / 1.032 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003426/0.335, allocations: 279.1 kB / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001023/0.3351, allocations: 72 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.3352, allocations: 83.98 kB / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.777e-05/0.3353, allocations: 71.75 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002574/0.3356, allocations: 263.1 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006151/0.3362, allocations: 0.6972 MB / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3362, allocations: 0 / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3362, allocations: 0 / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.263e-06/0.3362, allocations: 3.938 kB / 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.001358/0.3376, allocations: 0.8595 MB / 1.034 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.3377, allocations: 16.02 kB / 1.034 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/0.3378, allocations: 44.56 kB / 1.034 GB, free: 10.65 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.3392, allocations: 463.3 kB / 1.034 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.355e-05/0.3393, allocations: 32.36 kB / 1.034 GB, free: 10.13 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.3394, allocations: 44.38 kB / 1.034 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004802/0.3399, allocations: 221 kB / 1.035 GB, free: 9.855 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.3399, allocations: 3.938 kB / 1.035 GB, free: 9.852 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/0.3399, allocations: 8 kB / 1.035 GB, free: 9.844 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.34, allocations: 4 kB / 1.035 GB, free: 9.84 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003322/0.3403, allocations: 119.9 kB / 1.035 GB, free: 9.723 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.3416, allocations: 0.953 MB / 1.036 GB, free: 8.711 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006741/0.3423, allocations: 232.2 kB / 1.036 GB, free: 8.457 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002534/0.3426, allocations: 102.5 kB / 1.036 GB, free: 8.348 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.508e-05/0.3426, allocations: 7.984 kB / 1.036 GB, free: 8.34 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005276/0.3432, allocations: 293.3 kB / 1.036 GB, free: 8.031 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=37): time 1.553e-06/0.3432, allocations: 4 kB / 1.036 GB, free: 8.027 MB / 0.8106 GB Notification: Performance of matching and sorting (n=37): time 0.001034/0.3442, allocations: 453 kB / 1.037 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.548e-05/0.3443, allocations: 114.8 kB / 1.037 GB, free: 7.441 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/0.3445, allocations: 262.9 kB / 1.037 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.382e-05/0.3446, allocations: 49.69 kB / 1.037 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.3447, allocations: 156.9 kB / 1.037 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.06e-05/0.3448, allocations: 102.6 kB / 1.037 GB, free: 6.867 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002469/0.3451, allocations: 158 kB / 1.037 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.3452, allocations: 342.8 kB / 1.038 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005017/0.3457, allocations: 220.8 kB / 1.038 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005984/0.3463, allocations: 392.7 kB / 1.038 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008717/0.3472, allocations: 0.57 MB / 1.039 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/0.3472, allocations: 4 kB / 1.039 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001472/0.3487, allocations: 0.8415 MB / 1.04 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001103/0.3488, allocations: 186.2 kB / 1.04 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.3488, allocations: 4 kB / 1.04 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.3489, allocations: 11.94 kB / 1.04 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.3491, allocations: 44.28 kB / 1.04 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.3491, allocations: 23.86 kB / 1.04 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008645/0.35, allocations: 175.7 kB / 1.04 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.021e-05/0.3501, allocations: 39.97 kB / 1.04 GB, free: 3.648 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.000204/0.3503, allocations: 183.3 kB / 1.04 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.016e-05/0.3503, allocations: 35.61 kB / 1.04 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.472e-05/0.3504, allocations: 41.8 kB / 1.04 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.3504, allocations: 4 kB / 1.04 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.3504, allocations: 0 / 1.04 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.3505, allocations: 3.984 kB / 1.04 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/0.3517, allocations: 0.9265 MB / 1.041 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3518, allocations: 0 / 1.041 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002208/0.352, allocations: 43.89 kB / 1.041 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.352, allocations: 4 kB / 1.041 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/0.352, allocations: 11.98 kB / 1.041 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.352, allocations: 4.078 kB / 1.041 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.352, allocations: 3.984 kB / 1.041 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.3531, allocations: 0.7091 MB / 1.042 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.105e-05/0.3532, allocations: 108.7 kB / 1.042 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/0.3532, allocations: 8.031 kB / 1.042 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.3535, allocations: 19.98 kB / 1.042 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.864e-05/0.3536, allocations: 27.97 kB / 1.042 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.929e-05/0.3536, allocations: 19.98 kB / 1.042 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001508/0.3538, allocations: 182 kB / 1.043 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3538, allocations: 0 / 1.043 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005152/0.3543, 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.0002229/0.3545, allocations: 127.1 kB / 1.043 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001238/0.3558, allocations: 0.8327 MB / 1.044 GB, free: 76 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.3558, allocations: 4.75 kB / 1.044 GB, free: 72 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003467/0.3561, allocations: 164 kB / 1.044 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007382/0.3569, allocations: 113.8 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.001105/0.358, allocations: 0.5877 MB / 1.044 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.3583, allocations: 0.7767 MB / 1.045 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001687/0.3585, allocations: 51.36 kB / 1.045 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.208e-05/0.3586, allocations: 39.42 kB / 1.045 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3586, allocations: 3.938 kB / 1.045 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of Templates: time 0.01154/0.3701, allocations: 6.977 MB / 1.052 GB, free: 7.387 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 gbode -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