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.001027/0.001027, allocations: 92.16 kB / 16.02 MB, free: 80 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.001294/0.001294, allocations: 182.4 kB / 16.92 MB, free: 6.922 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.44/1.44, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.803/2.803, allocations: 462.6 MB / 0.7371 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000592/0.0005919, allocations: 10.88 kB / 0.9034 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3743, allocations: 159.6 MB / 1.059 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.001561/0.3759, allocations: 0.9944 MB / 1.06 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002379/0.3783, allocations: 1.763 MB / 1.062 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001492/0.3785, allocations: 8 kB / 1.062 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.114e-05/0.3786, allocations: 15.8 kB / 1.062 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002484/0.3788, allocations: 59.53 kB / 1.062 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001487/0.3803, allocations: 0.6057 MB / 1.063 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0007318/0.3811, allocations: 0.6626 MB / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.3813, allocations: 64.7 kB / 1.063 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004036/0.3817, allocations: 239.3 kB / 1.064 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003441/0.382, allocations: 219.1 kB / 1.064 GB, free: 356 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001453/0.3822, allocations: 36 kB / 1.064 GB, free: 320 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.3823, allocations: 43.98 kB / 1.064 GB, free: 276 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.617e-05/0.3824, allocations: 59.69 kB / 1.064 GB, free: 216 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002948/0.3827, allocations: 244.8 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005161/0.3832, allocations: 0.4989 MB / 1.065 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3833, allocations: 0 / 1.065 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.255e-06/0.3833, allocations: 0 / 1.065 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.389e-05/0.3833, allocations: 0 / 1.065 GB, free: 15.46 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.001321/0.3846, allocations: 0.7868 MB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3847, allocations: 15.97 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001706/0.3848, allocations: 48.55 kB / 1.066 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001623/0.3865, allocations: 483.2 kB / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.267e-05/0.3865, allocations: 24.38 kB / 1.066 GB, free: 14 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.3867, allocations: 48.36 kB / 1.066 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000498/0.3872, allocations: 212.5 kB / 1.066 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3872, allocations: 7.875 kB / 1.066 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.632e-05/0.3872, allocations: 11.98 kB / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.3873, allocations: 7.938 kB / 1.066 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003619/0.3876, allocations: 127.9 kB / 1.066 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.389, allocations: 0.9531 MB / 1.067 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007084/0.3897, allocations: 228.1 kB / 1.068 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002838/0.39, allocations: 110.5 kB / 1.068 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.3901, allocations: 3.938 kB / 1.068 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005634/0.3906, allocations: 297.3 kB / 1.068 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=37): time 2.154e-06/0.3906, allocations: 0 / 1.068 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37): time 0.001209/0.3919, allocations: 460.1 kB / 1.068 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.945e-05/0.3919, allocations: 110.8 kB / 1.068 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002776/0.3922, allocations: 262.9 kB / 1.069 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.34e-05/0.3923, allocations: 49.7 kB / 1.069 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.3925, allocations: 168.8 kB / 1.069 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.647e-05/0.3926, allocations: 98.62 kB / 1.069 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.3927, allocations: 61.67 kB / 1.069 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3928, allocations: 346.8 kB / 1.069 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005874/0.3934, allocations: 224.8 kB / 1.07 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000687/0.3941, allocations: 388.7 kB / 1.07 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009812/0.3951, allocations: 0.5706 MB / 1.071 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.3951, allocations: 4 kB / 1.071 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001675/0.3968, allocations: 0.8456 MB / 1.071 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001229/0.397, allocations: 191.3 kB / 1.072 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.397, allocations: 4 kB / 1.072 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.397, allocations: 7.938 kB / 1.072 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/0.3973, allocations: 51.89 kB / 1.072 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/0.3973, allocations: 4 kB / 1.072 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.3984, allocations: 243.4 kB / 1.072 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.331e-05/0.3985, allocations: 43.95 kB / 1.072 GB, free: 7.512 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.0002661/0.3988, allocations: 175.5 kB / 1.072 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.127e-05/0.3988, allocations: 31.62 kB / 1.072 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.903e-05/0.3989, allocations: 33.8 kB / 1.072 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.3989, allocations: 8 kB / 1.072 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-06/0.3989, allocations: 0 / 1.072 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.399, allocations: 3.984 kB / 1.072 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00148/0.4004, allocations: 0.9222 MB / 1.073 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.4005, allocations: 0 / 1.073 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002451/0.4007, allocations: 39.91 kB / 1.073 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.4007, allocations: 4 kB / 1.073 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.061e-05/0.4008, allocations: 11.98 kB / 1.073 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.4008, allocations: 8 kB / 1.073 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4008, allocations: 0 / 1.073 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.402, allocations: 0.7057 MB / 1.074 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.259e-05/0.4021, allocations: 108.6 kB / 1.074 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.373e-05/0.4021, allocations: 15.97 kB / 1.074 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/0.4024, allocations: 16.08 kB / 1.074 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.616e-05/0.4024, allocations: 35.94 kB / 1.074 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-05/0.4025, allocations: 16 kB / 1.074 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000164/0.4026, allocations: 186 kB / 1.074 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.31e-07/0.4027, allocations: 0 / 1.074 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005836/0.4032, allocations: 115.9 kB / 1.074 GB, free: 4.984 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.0002042/0.4035, allocations: 125.8 kB / 1.074 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00136/0.4048, allocations: 0.8323 MB / 1.075 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4048, allocations: 0 / 1.075 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000399/0.4052, allocations: 171.8 kB / 1.075 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008531/0.4061, allocations: 103.2 kB / 1.075 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.4073, allocations: 0.741 MB / 1.076 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.4077, allocations: 0.773 MB / 1.077 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.332e-05/0.4078, allocations: 35.42 kB / 1.077 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of SimCode: time 4.11e-07/0.4078, allocations: 0 / 1.077 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of Templates: time 0.009539/0.4173, allocations: 5.709 MB / 1.083 GB, free: 12.4 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