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.006734/0.006734, allocations: 100.3 kB / 15.73 MB, free: 5.988 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.001653/0.001653, allocations: 188 kB / 16.67 MB, free: 5.91 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.693/2.693, allocations: 469.8 MB / 0.7425 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 63.89 kB / 1.065 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9492/0.9505, allocations: 159.1 MB / 1.221 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002403/0.9529, allocations: 1.288 MB / 1.222 GB, free: 0.7891 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002257/0.9552, allocations: 1.701 MB / 1.224 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.9553, allocations: 4 kB / 1.224 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 6.311e-05/0.9553, allocations: 23.67 kB / 1.224 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002277/0.9556, allocations: 95.33 kB / 1.224 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.957, allocations: 0.6518 MB / 1.224 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0007231/0.9577, allocations: 0.7525 MB / 1.225 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001743/0.9579, allocations: 49.7 kB / 1.225 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00029/0.9582, allocations: 299.3 kB / 1.225 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003466/0.9585, allocations: 283 kB / 1.226 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.425e-05/0.9586, allocations: 72 kB / 1.226 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.9588, allocations: 83.98 kB / 1.226 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.127e-05/0.9588, allocations: 79.69 kB / 1.226 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000239/0.9591, allocations: 251.1 kB / 1.226 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006728/0.9598, allocations: 0.6976 MB / 1.227 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.9598, allocations: 4 kB / 1.227 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.423e-06/0.9598, allocations: 0 / 1.227 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.9598, allocations: 0 / 1.227 GB, free: 11.77 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.001328/0.9611, allocations: 0.8747 MB / 1.228 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.9612, allocations: 12.03 kB / 1.228 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/0.9613, allocations: 48.75 kB / 1.228 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/0.9627, allocations: 471.4 kB / 1.228 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.108e-05/0.9627, allocations: 28.38 kB / 1.228 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.96e-05/0.9628, allocations: 40.38 kB / 1.228 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004642/0.9633, allocations: 222.4 kB / 1.228 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.9633, allocations: 3.938 kB / 1.228 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.509e-05/0.9633, allocations: 8 kB / 1.228 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.9633, allocations: 4 kB / 1.228 GB, free: 9.934 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003217/0.9636, allocations: 123.9 kB / 1.229 GB, free: 9.812 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.9649, allocations: 0.957 MB / 1.23 GB, free: 8.797 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006451/0.9655, allocations: 224.1 kB / 1.23 GB, free: 8.551 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002465/0.9658, allocations: 94.52 kB / 1.23 GB, free: 8.449 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/0.9658, allocations: 8 kB / 1.23 GB, free: 8.441 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005488/0.9664, allocations: 285.6 kB / 1.23 GB, free: 8.141 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=37): time 1.663e-06/0.9664, allocations: 0 / 1.23 GB, free: 8.141 MB / 0.9512 GB Notification: Performance of matching and sorting (n=37): time 0.001223/0.9676, allocations: 461.1 kB / 1.231 GB, free: 7.684 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.773e-05/0.9677, allocations: 114.8 kB / 1.231 GB, free: 7.547 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003325/0.968, allocations: 270.9 kB / 1.231 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.207e-05/0.9681, allocations: 49.64 kB / 1.231 GB, free: 7.215 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.9682, allocations: 165 kB / 1.231 GB, free: 7.051 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.094e-05/0.9683, allocations: 99.22 kB / 1.231 GB, free: 6.953 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002577/0.9686, allocations: 150 kB / 1.231 GB, free: 6.801 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.9687, allocations: 346.8 kB / 1.232 GB, free: 6.453 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005236/0.9693, allocations: 220.9 kB / 1.232 GB, free: 6.238 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006098/0.9699, allocations: 388.7 kB / 1.232 GB, free: 5.793 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008688/0.9707, allocations: 0.5779 MB / 1.233 GB, free: 5.137 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.9707, allocations: 0 / 1.233 GB, free: 5.137 MB / 0.9512 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001567/0.9723, allocations: 0.8497 MB / 1.234 GB, free: 4.246 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001322/0.9724, allocations: 186.2 kB / 1.234 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.9724, allocations: 0 / 1.234 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.648e-05/0.9725, allocations: 12.31 kB / 1.234 GB, free: 4.016 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000231/0.9727, allocations: 59.89 kB / 1.234 GB, free: 3.957 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.9727, allocations: 7.938 kB / 1.234 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008794/0.9736, allocations: 175.6 kB / 1.234 GB, free: 3.777 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.774e-05/0.9737, allocations: 51.95 kB / 1.234 GB, free: 3.727 MB / 0.9512 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.0002851/0.974, allocations: 168 kB / 1.234 GB, free: 3.555 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.813e-05/0.974, allocations: 43.75 kB / 1.234 GB, free: 3.512 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.687e-05/0.9741, allocations: 33.81 kB / 1.234 GB, free: 3.477 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/0.9741, allocations: 11.92 kB / 1.234 GB, free: 3.465 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.9741, allocations: 3.938 kB / 1.234 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.9742, allocations: 4 kB / 1.234 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/0.9756, allocations: 0.9108 MB / 1.235 GB, free: 2.484 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.9756, allocations: 0 / 1.235 GB, free: 2.484 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/0.9758, allocations: 47.91 kB / 1.235 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.9759, allocations: 3.984 kB / 1.235 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/0.9759, allocations: 11.98 kB / 1.235 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.9759, allocations: 4 kB / 1.235 GB, free: 2.418 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.9759, allocations: 0 / 1.235 GB, free: 2.418 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.977, allocations: 0.7187 MB / 1.236 GB, free: 1.684 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.278e-05/0.9771, allocations: 116.9 kB / 1.236 GB, free: 1.551 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.943e-05/0.9772, allocations: 8 kB / 1.236 GB, free: 1.543 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/0.9774, allocations: 11.98 kB / 1.236 GB, free: 1.531 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.761e-05/0.9775, allocations: 31.95 kB / 1.236 GB, free: 1.5 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.9775, allocations: 19.98 kB / 1.236 GB, free: 1.48 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001748/0.9777, allocations: 178 kB / 1.236 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.9777, allocations: 0 / 1.236 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005353/0.9782, allocations: 119.9 kB / 1.237 GB, free: 1.188 MB / 0.9512 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.0002335/0.9784, allocations: 127.2 kB / 1.237 GB, free: 1.055 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001258/0.9797, allocations: 0.7661 MB / 1.237 GB, free: 220 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.9797, allocations: 0 / 1.237 GB, free: 220 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003239/0.98, allocations: 140 kB / 1.238 GB, free: 80 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007624/0.9808, allocations: 117.3 kB / 1.238 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.982, allocations: 0.6046 MB / 1.238 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.9823, allocations: 0.7689 MB / 1.239 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001759/0.9825, allocations: 55.27 kB / 1.239 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.238e-05/0.9826, allocations: 39.42 kB / 1.239 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of SimCode: time 7.52e-07/0.9826, allocations: 0 / 1.239 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of Templates: time 0.01357/0.9961, allocations: 7.024 MB / 1.246 GB, free: 7.504 MB / 0.9669 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=480 -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