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.001535/0.001534, allocations: 100.1 kB / 15.88 MB, free: 12 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.001992/0.001992, allocations: 200.6 kB / 16.79 MB, free: 6.809 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.455/1.455, allocations: 222.9 MB / 240.5 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.79/2.79, allocations: 461.8 MB / 0.7348 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 68.55 kB / 0.8991 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2967, allocations: 157.4 MB / 1.053 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.003273/0.3, allocations: 1.353 MB / 1.054 GB, free: 6.949 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002681/0.3027, allocations: 1.767 MB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000182/0.3029, allocations: 4 kB / 1.056 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.202e-05/0.3031, allocations: 15.8 kB / 1.056 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002646/0.3033, allocations: 71.53 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001519/0.3049, allocations: 0.5972 MB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0007508/0.3056, allocations: 0.6665 MB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001997/0.3058, allocations: 64.72 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004678/0.3063, allocations: 251.3 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003493/0.3067, allocations: 227.1 kB / 1.058 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.000165/0.3068, allocations: 36 kB / 1.058 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001726/0.307, allocations: 47.98 kB / 1.058 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.897e-05/0.3071, allocations: 63.7 kB / 1.058 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003023/0.3074, allocations: 227.1 kB / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000511/0.3079, allocations: 0.5108 MB / 1.059 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3079, allocations: 0 / 1.059 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3079, allocations: 0 / 1.059 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.378e-05/0.308, allocations: 0 / 1.059 GB, free: 2.422 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.001562/0.3095, allocations: 0.8687 MB / 1.059 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.3096, allocations: 11.97 kB / 1.059 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001865/0.3098, allocations: 48.56 kB / 1.059 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/0.3113, allocations: 471.2 kB / 1.06 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.284e-05/0.3114, allocations: 32.31 kB / 1.06 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.3115, allocations: 48.36 kB / 1.06 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004861/0.312, allocations: 216.5 kB / 1.06 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.312, allocations: 3.938 kB / 1.06 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/0.312, allocations: 7.984 kB / 1.06 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.3121, allocations: 4 kB / 1.06 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003483/0.3124, allocations: 119.9 kB / 1.06 GB, free: 484 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.3138, allocations: 0.9609 MB / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000678/0.3145, allocations: 232.1 kB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002651/0.3147, allocations: 106.5 kB / 1.062 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.3148, allocations: 0 / 1.062 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000618/0.3154, allocations: 301.3 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=37): time 1.423e-06/0.3154, allocations: 0 / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37): time 0.001204/0.3166, allocations: 456.9 kB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/0.3167, allocations: 118.8 kB / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00027/0.317, allocations: 258.9 kB / 1.063 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 8.147e-05/0.3171, allocations: 53.7 kB / 1.063 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.3172, allocations: 152.9 kB / 1.063 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.955e-05/0.3173, allocations: 102.6 kB / 1.063 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002657/0.3176, allocations: 154 kB / 1.063 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.3177, allocations: 346.8 kB / 1.063 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005562/0.3183, allocations: 224.9 kB / 1.064 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006272/0.3189, allocations: 391.1 kB / 1.064 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009025/0.3198, allocations: 0.5689 MB / 1.065 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.3198, allocations: 0 / 1.065 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001566/0.3214, allocations: 0.8365 MB / 1.065 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.3215, allocations: 190.2 kB / 1.066 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.3215, allocations: 0 / 1.066 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.3216, allocations: 16.3 kB / 1.066 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/0.3218, allocations: 59.78 kB / 1.066 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.3218, allocations: 4 kB / 1.066 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009336/0.3228, allocations: 183.5 kB / 1.066 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.898e-05/0.3229, allocations: 43.97 kB / 1.066 GB, free: 10.38 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.0002334/0.3231, allocations: 175.4 kB / 1.066 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.613e-05/0.3232, allocations: 31.81 kB / 1.066 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.526e-05/0.3233, allocations: 41.8 kB / 1.066 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.3233, allocations: 7.938 kB / 1.066 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.3233, allocations: 0 / 1.066 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.3233, allocations: 4 kB / 1.066 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/0.3246, allocations: 0.9245 MB / 1.067 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.3246, allocations: 0 / 1.067 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002359/0.3249, allocations: 39.97 kB / 1.067 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3249, allocations: 0 / 1.067 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-05/0.3249, allocations: 11.98 kB / 1.067 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.3249, allocations: 7.938 kB / 1.067 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3249, allocations: 0 / 1.067 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.3261, allocations: 0.7135 MB / 1.068 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.08e-05/0.3262, allocations: 108.7 kB / 1.068 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.899e-05/0.3262, allocations: 8 kB / 1.068 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000253/0.3265, allocations: 11.98 kB / 1.068 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.578e-05/0.3265, allocations: 31.95 kB / 1.068 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.91e-05/0.3266, allocations: 19.98 kB / 1.068 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001637/0.3267, allocations: 181.9 kB / 1.068 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.442e-06/0.3268, allocations: 0 / 1.068 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005376/0.3273, allocations: 119.9 kB / 1.068 GB, free: 7.855 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.0002105/0.3275, allocations: 127.1 kB / 1.068 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001295/0.3288, allocations: 0.8326 MB / 1.069 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3288, allocations: 0 / 1.069 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003738/0.3292, allocations: 168.9 kB / 1.069 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007863/0.33, allocations: 113.8 kB / 1.069 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.3312, allocations: 0.7119 MB / 1.07 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.3315, allocations: 0.7769 MB / 1.071 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.3316, allocations: 39.42 kB / 1.071 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of SimCode: time 5.71e-07/0.3316, allocations: 0 / 1.071 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of Templates: time 0.008925/0.3405, allocations: 5.73 MB / 1.076 GB, free: 15.26 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,ramUp.u,ramUp.y,ramUp1.y,ramUp.active,ramUpDow.u,ramUpDow.y,ramUpDow.active,ramUpDow1.u,ramUpDow1.y,ramUpDow1.active Variables in the result:ramUp.active,ramUp.u,ramUp.y,ramUp1.y,ramUpDow.active,ramUpDow.u,ramUpDow.y,ramUpDow1.active,ramUpDow1.u,ramUpDow1.y,time