Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.0008352/0.0008352, allocations: 92 kB / 15.36 MB, free: 0.7383 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.006772/0.006772, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.539/1.539, allocations: 223.2 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.172/3.172, allocations: 470.6 MB / 0.7442 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003586, allocations: 11.91 kB / 0.9123 GB, free: 34.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.3944, allocations: 161.4 MB / 1.07 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.001816/0.3962, allocations: 0.9845 MB / 1.071 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002717/0.399, allocations: 1.767 MB / 1.073 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.714e-05/0.3991, allocations: 0 / 1.073 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.444e-05/0.3991, allocations: 7.875 kB / 1.073 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002353/0.3994, allocations: 75.47 kB / 1.073 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.4009, allocations: 0.6042 MB / 1.073 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000724/0.4016, allocations: 0.6588 MB / 1.074 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001986/0.4018, allocations: 60.73 kB / 1.074 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003088/0.4021, allocations: 251.2 kB / 1.074 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003263/0.4025, allocations: 207.2 kB / 1.074 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.883e-05/0.4026, allocations: 32 kB / 1.074 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.4027, allocations: 51.91 kB / 1.074 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.919e-05/0.4028, allocations: 55.77 kB / 1.075 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002877/0.4031, allocations: 248.8 kB / 1.075 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007007/0.4038, allocations: 0.6428 MB / 1.075 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.4038, allocations: 0 / 1.075 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.925e-06/0.4038, allocations: 0 / 1.075 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.4038, allocations: 0 / 1.075 GB, free: 5.789 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.001387/0.4052, allocations: 0.7738 MB / 1.076 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.4053, allocations: 12.03 kB / 1.076 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.4054, allocations: 48.55 kB / 1.076 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001589/0.407, allocations: 481.1 kB / 1.077 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.248e-05/0.4071, allocations: 28.38 kB / 1.077 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.4072, allocations: 48.36 kB / 1.077 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005258/0.4078, allocations: 221.4 kB / 1.077 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.4078, allocations: 7.875 kB / 1.077 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.246e-05/0.4078, allocations: 15.97 kB / 1.077 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.4078, allocations: 4 kB / 1.077 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003609/0.4082, allocations: 119.9 kB / 1.077 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.4096, allocations: 0.9608 MB / 1.078 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007374/0.4104, allocations: 232.1 kB / 1.078 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002833/0.4107, allocations: 106.5 kB / 1.078 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.326e-05/0.4107, allocations: 0 / 1.078 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006163/0.4113, allocations: 297.3 kB / 1.079 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=37): time 1.643e-06/0.4113, allocations: 0 / 1.079 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37): time 0.001206/0.4125, allocations: 449.8 kB / 1.079 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.4127, allocations: 118.8 kB / 1.079 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000297/0.413, allocations: 262.9 kB / 1.079 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.264e-05/0.4131, allocations: 53.7 kB / 1.079 GB, free: 1.305 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.4132, allocations: 152.9 kB / 1.08 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.4133, allocations: 102.6 kB / 1.08 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.4135, allocations: 65.67 kB / 1.08 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001836/0.4137, allocations: 338.8 kB / 1.08 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005916/0.4143, allocations: 232.8 kB / 1.08 GB, free: 424 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007174/0.415, allocations: 384.7 kB / 1.081 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.416, allocations: 0.5736 MB / 1.081 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.4161, allocations: 0 / 1.081 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001716/0.4178, allocations: 0.8445 MB / 1.082 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001748/0.418, allocations: 186.2 kB / 1.082 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.418, allocations: 4.375 kB / 1.082 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.56e-05/0.418, allocations: 11.94 kB / 1.082 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002539/0.4183, allocations: 55.89 kB / 1.082 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/0.4183, allocations: 7.938 kB / 1.082 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/0.4194, allocations: 235.5 kB / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.181e-05/0.4195, allocations: 43.97 kB / 1.083 GB, free: 13.86 MB / 0.8419 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.0002838/0.4198, allocations: 171.5 kB / 1.083 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.538e-05/0.4198, allocations: 35.62 kB / 1.083 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.42, allocations: 37.8 kB / 1.083 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.42, allocations: 8 kB / 1.083 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.42, allocations: 0 / 1.083 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.42, allocations: 3.984 kB / 1.083 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/0.4215, allocations: 0.9301 MB / 1.084 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.4215, allocations: 0 / 1.084 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002313/0.4217, allocations: 51.84 kB / 1.084 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.4218, allocations: 4 kB / 1.084 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/0.4218, allocations: 11.98 kB / 1.084 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.4218, allocations: 4.078 kB / 1.084 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.4218, allocations: 3.984 kB / 1.084 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.4232, allocations: 0.7057 MB / 1.085 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.4233, allocations: 112.7 kB / 1.085 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.718e-05/0.4234, allocations: 12.03 kB / 1.085 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/0.4236, allocations: 15.98 kB / 1.085 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.668e-05/0.4237, allocations: 31.89 kB / 1.085 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-05/0.4237, allocations: 16 kB / 1.085 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002269/0.424, allocations: 182 kB / 1.085 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.424, allocations: 0 / 1.085 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005881/0.4246, allocations: 115.9 kB / 1.085 GB, free: 11.32 MB / 0.8419 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.0003535/0.4249, allocations: 127.1 kB / 1.085 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001541/0.4265, allocations: 0.8327 MB / 1.086 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/0.4265, allocations: 4 kB / 1.086 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003781/0.4269, allocations: 153.5 kB / 1.086 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008789/0.4278, allocations: 113 kB / 1.086 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.4292, allocations: 0.6886 MB / 1.087 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005569/0.4298, allocations: 0.773 MB / 1.088 GB, free: 8.484 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000245/0.43, allocations: 55.27 kB / 1.088 GB, free: 8.43 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.538e-05/0.4301, allocations: 35.44 kB / 1.088 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of SimCode: time 7.42e-07/0.4301, allocations: 0 / 1.088 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of Templates: time 0.01519/0.4453, allocations: 6.636 MB / 1.094 GB, free: 1.844 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches