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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.007512/0.007512, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001333/0.001333, allocations: 193.9 kB / 16.67 MB, free: 5.969 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.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.704/2.704, allocations: 472.6 MB / 0.7452 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001215, allocations: 59.91 kB / 1.069 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013/1.015, allocations: 159.9 MB / 1.226 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002515/1.017, allocations: 1.282 MB / 1.227 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002303/1.019, allocations: 1.694 MB / 1.229 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001387/1.02, allocations: 0 / 1.229 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 7.55e-05/1.02, allocations: 31.61 kB / 1.229 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002112/1.02, allocations: 83.33 kB / 1.229 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001439/1.021, allocations: 0.6479 MB / 1.229 GB, free: 9.789 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0008415/1.022, allocations: 0.7915 MB / 1.23 GB, free: 8.996 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/1.022, allocations: 80.56 kB / 1.23 GB, free: 8.918 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003229/1.023, allocations: 299.3 kB / 1.23 GB, free: 8.625 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000363/1.023, allocations: 275.1 kB / 1.231 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001154/1.023, allocations: 72 kB / 1.231 GB, free: 8.285 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/1.023, allocations: 87.92 kB / 1.231 GB, free: 8.199 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.913e-05/1.023, allocations: 71.77 kB / 1.231 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003008/1.024, allocations: 263.1 kB / 1.231 GB, free: 7.871 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006842/1.024, allocations: 0.6935 MB / 1.232 GB, free: 7.184 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/1.024, allocations: 4 kB / 1.232 GB, free: 7.18 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.894e-06/1.025, allocations: 0 / 1.232 GB, free: 7.18 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.306e-05/1.025, allocations: 4 kB / 1.232 GB, free: 7.176 MB / 0.9512 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.001356/1.026, allocations: 0.8748 MB / 1.233 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/1.026, allocations: 8.031 kB / 1.233 GB, free: 6.203 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/1.026, allocations: 48.75 kB / 1.233 GB, free: 6.156 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/1.027, allocations: 455.6 kB / 1.233 GB, free: 5.676 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.224e-05/1.028, allocations: 36.36 kB / 1.233 GB, free: 5.641 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/1.028, allocations: 44.38 kB / 1.233 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004671/1.028, allocations: 209.2 kB / 1.233 GB, free: 5.379 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/1.028, allocations: 7.875 kB / 1.233 GB, free: 5.371 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/1.028, allocations: 12 kB / 1.234 GB, free: 5.359 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/1.028, allocations: 4 kB / 1.234 GB, free: 5.355 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003266/1.029, allocations: 123.9 kB / 1.234 GB, free: 5.234 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001299/1.03, allocations: 0.9647 MB / 1.235 GB, free: 4.211 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006774/1.031, allocations: 232.2 kB / 1.235 GB, free: 3.957 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/1.031, allocations: 110.5 kB / 1.235 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/1.031, allocations: 0 / 1.235 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005406/1.031, allocations: 297.6 kB / 1.235 GB, free: 3.527 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=37): time 1.633e-06/1.031, allocations: 0 / 1.235 GB, free: 3.527 MB / 0.9512 GB Notification: Performance of matching and sorting (n=37): time 0.001184/1.033, allocations: 453.8 kB / 1.236 GB, free: 3.078 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.43e-05/1.033, allocations: 114.8 kB / 1.236 GB, free: 2.941 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002815/1.033, allocations: 266.9 kB / 1.236 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.7e-05/1.033, allocations: 49.7 kB / 1.236 GB, free: 2.613 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/1.033, allocations: 157 kB / 1.236 GB, free: 2.453 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.632e-05/1.033, allocations: 107.2 kB / 1.236 GB, free: 2.348 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002629/1.034, allocations: 150 kB / 1.236 GB, free: 2.195 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001445/1.034, allocations: 346.8 kB / 1.237 GB, free: 1.848 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005501/1.034, allocations: 224.9 kB / 1.237 GB, free: 1.629 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000636/1.035, allocations: 388.6 kB / 1.237 GB, free: 1.184 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009814/1.036, allocations: 0.5765 MB / 1.238 GB, free: 0.5273 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/1.036, allocations: 0 / 1.238 GB, free: 0.5273 MB / 0.9512 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001689/1.038, allocations: 0.844 MB / 1.239 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001188/1.038, allocations: 182.2 kB / 1.239 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/1.038, allocations: 4 kB / 1.239 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/1.038, allocations: 7.938 kB / 1.239 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/1.038, allocations: 60.27 kB / 1.239 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/1.038, allocations: 7.938 kB / 1.239 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009672/1.039, allocations: 175.6 kB / 1.239 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-05/1.039, allocations: 47.95 kB / 1.239 GB, free: 15.13 MB / 0.9669 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.0002521/1.039, allocations: 172 kB / 1.239 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.833e-05/1.039, allocations: 35.75 kB / 1.239 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.506e-05/1.04, allocations: 37.81 kB / 1.239 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/1.04, allocations: 4 kB / 1.239 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/1.04, allocations: 7.984 kB / 1.239 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/1.04, allocations: 0 / 1.239 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/1.041, allocations: 0.9212 MB / 1.24 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/1.041, allocations: 4 kB / 1.24 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002385/1.041, allocations: 43.91 kB / 1.24 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/1.041, allocations: 192 / 1.24 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.471e-05/1.041, allocations: 15.98 kB / 1.24 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/1.041, allocations: 3.938 kB / 1.24 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.686e-06/1.041, allocations: 0 / 1.24 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/1.043, allocations: 0.7175 MB / 1.241 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.374e-05/1.043, allocations: 104.9 kB / 1.241 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.97e-05/1.043, allocations: 16.03 kB / 1.241 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002387/1.043, allocations: 11.98 kB / 1.241 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.472e-05/1.043, allocations: 35.89 kB / 1.241 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.881e-05/1.043, allocations: 16 kB / 1.241 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000194/1.043, allocations: 182 kB / 1.241 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/1.043, allocations: 0 / 1.241 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006561/1.044, allocations: 119.9 kB / 1.242 GB, free: 12.59 MB / 0.9669 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.0002399/1.044, allocations: 131.2 kB / 1.242 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001451/1.046, allocations: 0.8326 MB / 1.242 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/1.046, allocations: 4.125 kB / 1.242 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003632/1.046, allocations: 159.8 kB / 1.243 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008037/1.047, allocations: 114 kB / 1.243 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/1.048, allocations: 0.6022 MB / 1.243 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/1.048, allocations: 0.7767 MB / 1.244 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001869/1.049, allocations: 51.27 kB / 1.244 GB, free: 9.781 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.758e-05/1.049, allocations: 35.44 kB / 1.244 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of SimCode: time 3.7e-07/1.049, allocations: 4 kB / 1.244 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of Templates: time 0.01408/1.063, allocations: 7.011 MB / 1.251 GB, free: 2.824 MB / 0.9669 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