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.002118/0.002118, allocations: 114.5 kB / 16.42 MB, free: 6.496 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.002742/0.002742, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.559/1.559, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.697/2.697, allocations: 472.7 MB / 0.746 GB, free: 452 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 71.83 kB / 1.07 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9021/0.9035, allocations: 159.9 MB / 1.226 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002926/0.9065, allocations: 1.284 MB / 1.228 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00253/0.9091, allocations: 1.701 MB / 1.229 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002534/0.9093, allocations: 0 / 1.229 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 8.785e-05/0.9094, allocations: 19.69 kB / 1.229 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.000342/0.9098, allocations: 91.33 kB / 1.229 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001675/0.9115, allocations: 0.6588 MB / 1.23 GB, free: 9.711 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00108/0.9126, allocations: 0.7916 MB / 1.231 GB, free: 8.918 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002154/0.9128, allocations: 76.5 kB / 1.231 GB, free: 8.844 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005083/0.9133, allocations: 295.3 kB / 1.231 GB, free: 8.555 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000532/0.9139, allocations: 283 kB / 1.231 GB, free: 8.277 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001956/0.9141, allocations: 72 kB / 1.232 GB, free: 8.207 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002279/0.9143, allocations: 83.98 kB / 1.232 GB, free: 8.125 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.963e-05/0.9144, allocations: 79.69 kB / 1.232 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003478/0.9147, allocations: 263.1 kB / 1.232 GB, free: 7.789 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0008125/0.9156, allocations: 0.6937 MB / 1.233 GB, free: 7.098 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.9156, allocations: 0 / 1.233 GB, free: 7.098 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9156, allocations: 0 / 1.233 GB, free: 7.098 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.765e-05/0.9156, allocations: 0 / 1.233 GB, free: 7.098 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.001533/0.9171, allocations: 0.8813 MB / 1.233 GB, free: 6.129 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.9172, allocations: 12.03 kB / 1.233 GB, free: 6.117 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.9174, allocations: 48.75 kB / 1.234 GB, free: 6.07 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001364/0.9188, allocations: 467.5 kB / 1.234 GB, free: 5.578 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.427e-05/0.9188, allocations: 24.38 kB / 1.234 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.9189, allocations: 44.36 kB / 1.234 GB, free: 5.512 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004663/0.9194, allocations: 216.6 kB / 1.234 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.9194, allocations: 7.938 kB / 1.234 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.9195, allocations: 11.98 kB / 1.234 GB, free: 5.266 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.9195, allocations: 4 kB / 1.234 GB, free: 5.262 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003529/0.9198, allocations: 123.9 kB / 1.234 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/0.9212, allocations: 0.9571 MB / 1.235 GB, free: 4.125 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006684/0.9219, allocations: 228.1 kB / 1.236 GB, free: 3.875 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002637/0.9222, allocations: 106.5 kB / 1.236 GB, free: 3.762 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.902e-05/0.9222, allocations: 12 kB / 1.236 GB, free: 3.75 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005993/0.9228, allocations: 283 kB / 1.236 GB, free: 3.453 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=37): time 1.914e-06/0.9229, allocations: 0 / 1.236 GB, free: 3.453 MB / 0.9512 GB Notification: Performance of matching and sorting (n=37): time 0.001159/0.924, allocations: 472.3 kB / 1.236 GB, free: 2.988 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.065e-05/0.9241, allocations: 110.8 kB / 1.236 GB, free: 2.855 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002894/0.9244, allocations: 266.9 kB / 1.237 GB, free: 2.582 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.173e-05/0.9245, allocations: 49.7 kB / 1.237 GB, free: 2.527 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.9247, allocations: 161 kB / 1.237 GB, free: 2.363 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.76e-05/0.9248, allocations: 103.2 kB / 1.237 GB, free: 2.262 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002708/0.925, allocations: 150 kB / 1.237 GB, free: 2.109 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.9252, allocations: 350.8 kB / 1.238 GB, free: 1.758 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005578/0.9258, allocations: 220.9 kB / 1.238 GB, free: 1.543 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006397/0.9264, allocations: 392.6 kB / 1.238 GB, free: 1.086 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000913/0.9273, allocations: 0.5765 MB / 1.239 GB, free: 440 kB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.9273, allocations: 0 / 1.239 GB, free: 440 kB / 0.9512 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001621/0.929, allocations: 0.835 MB / 1.239 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001252/0.9291, allocations: 186.6 kB / 1.24 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.9291, allocations: 11.98 kB / 1.24 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/0.9292, allocations: 7.938 kB / 1.24 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/0.9294, allocations: 55.84 kB / 1.24 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.652e-05/0.9294, allocations: 4 kB / 1.24 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008892/0.9303, allocations: 175.6 kB / 1.24 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.544e-05/0.9304, allocations: 47.97 kB / 1.24 GB, free: 15.04 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.0002419/0.9307, allocations: 179.9 kB / 1.24 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.08e-05/0.9307, allocations: 31.77 kB / 1.24 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.625e-05/0.9308, allocations: 37.86 kB / 1.24 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.9308, allocations: 3.938 kB / 1.24 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.9309, allocations: 4 kB / 1.24 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.931, allocations: 108.8 kB / 1.24 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.829e-05/0.931, allocations: 11.94 kB / 1.24 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.9312, allocations: 15.98 kB / 1.24 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.216e-05/0.9313, allocations: 31.95 kB / 1.24 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001406/0.9327, allocations: 0.6358 MB / 1.241 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001179/0.9339, allocations: 0.7971 MB / 1.242 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003241/0.9342, allocations: 154.6 kB / 1.242 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001684/0.9344, allocations: 174 kB / 1.242 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of Backend: time 8.41e-07/0.9344, allocations: 0 / 1.242 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001674/0.9361, allocations: 0.833 MB / 1.243 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of SimCode: time 0.001358/0.9374, allocations: 1.046 MB / 1.244 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of Templates: time 0.01409/0.9515, allocations: 7.485 MB / 1.251 GB, free: 3.402 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/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