Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002157/0.002157, allocations: 189.4 kB / 22.23 MB, free: 5.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.692/2.692, allocations: 443.5 MB / 0.7321 GB, free: 12.31 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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=2500,variableFilter="time|ramUp.u|ramUp.y|ramUp1.y|ramUp.active|ramUpDow.u|ramUpDow.y|ramUpDow.active|ramUpDow1.u|ramUpDow1.y|ramUpDow1.active",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ramUp.u|ramUp.y|ramUp1.y|ramUp.active|ramUpDow.u|ramUpDow.y|ramUpDow.active|ramUpDow1.u|ramUpDow1.y|ramUpDow1.active",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 71.88 kB / 1.062 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.039/1.041, allocations: 160.8 MB / 1.219 GB, free: 3.719 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.003069/1.044, allocations: 1.309 MB / 1.22 GB, free: 2.707 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002977/1.047, allocations: 1.705 MB / 1.221 GB, free: 1.32 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001691/1.047, allocations: 2.188 kB / 1.221 GB, free: 1.32 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 8.575e-05/1.047, allocations: 23.67 kB / 1.221 GB, free: 1.297 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002893/1.048, allocations: 95.98 kB / 1.222 GB, free: 1.215 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001784/1.05, allocations: 0.6518 MB / 1.222 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001051/1.051, allocations: 0.7492 MB / 1.223 GB, free: 324 kB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000221/1.051, allocations: 57.8 kB / 1.223 GB, free: 284 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005173/1.051, allocations: 300.6 kB / 1.223 GB, free: 108 kB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005418/1.052, allocations: 288.2 kB / 1.224 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000171/1.052, allocations: 71.69 kB / 1.224 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002182/1.052, allocations: 85.89 kB / 1.224 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.976e-05/1.052, allocations: 73.8 kB / 1.224 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003662/1.053, allocations: 256.5 kB / 1.224 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009709/1.054, allocations: 0.7025 MB / 1.225 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/1.054, allocations: 0 / 1.225 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.964e-06/1.054, allocations: 0 / 1.225 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.177e-06/1.054, allocations: 1 kB / 1.225 GB, free: 15.09 MB / 0.9356 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.001728/1.055, allocations: 0.9456 MB / 1.226 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/1.056, allocations: 9.312 kB / 1.226 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001606/1.056, allocations: 52.52 kB / 1.226 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001514/1.057, allocations: 458.9 kB / 1.226 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.335e-05/1.057, allocations: 30.7 kB / 1.226 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/1.057, allocations: 51.91 kB / 1.226 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005236/1.058, allocations: 214.9 kB / 1.226 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/1.058, allocations: 3.938 kB / 1.226 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.824e-05/1.058, allocations: 10.55 kB / 1.226 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/1.058, allocations: 4.188 kB / 1.226 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003357/1.058, allocations: 130.8 kB / 1.227 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001527/1.06, allocations: 0.9459 MB / 1.227 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007207/1.061, allocations: 221.9 kB / 1.228 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002748/1.061, allocations: 103.2 kB / 1.228 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.65e-05/1.061, allocations: 4 kB / 1.228 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006755/1.061, allocations: 291.2 kB / 1.228 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=37): time 2.255e-06/1.061, allocations: 0 / 1.228 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37): time 0.001259/1.063, allocations: 460.9 kB / 1.229 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.39e-05/1.063, allocations: 108.1 kB / 1.229 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000325/1.063, allocations: 274.2 kB / 1.229 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.192e-05/1.063, allocations: 47.02 kB / 1.229 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/1.063, allocations: 162.9 kB / 1.229 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/1.064, allocations: 104.9 kB / 1.229 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002859/1.064, allocations: 153.5 kB / 1.229 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001809/1.064, allocations: 341.3 kB / 1.23 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005514/1.065, allocations: 224 kB / 1.23 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007003/1.065, allocations: 391.1 kB / 1.23 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/1.066, allocations: 0.5752 MB / 1.231 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/1.066, allocations: 1.031 kB / 1.231 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001666/1.068, allocations: 0.8598 MB / 1.232 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001477/1.068, allocations: 186.2 kB / 1.232 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/1.068, allocations: 4 kB / 1.232 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.942e-05/1.068, allocations: 11.94 kB / 1.232 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/1.068, allocations: 47.91 kB / 1.232 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/1.068, allocations: 7.938 kB / 1.232 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009474/1.069, allocations: 187.8 kB / 1.232 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.086e-05/1.069, allocations: 40.16 kB / 1.232 GB, free: 8.781 MB / 0.9356 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.0002956/1.07, allocations: 175.5 kB / 1.232 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.764e-05/1.07, allocations: 35.75 kB / 1.232 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.591e-05/1.07, allocations: 37.73 kB / 1.232 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/1.07, allocations: 8 kB / 1.232 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/1.07, allocations: 0 / 1.232 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/1.07, allocations: 3.938 kB / 1.232 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001504/1.071, allocations: 0.9286 MB / 1.233 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/1.071, allocations: 0 / 1.233 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/1.072, allocations: 47.89 kB / 1.233 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.625e-06/1.072, allocations: 4 kB / 1.233 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/1.072, allocations: 8 kB / 1.233 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/1.072, allocations: 4 kB / 1.233 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.072, allocations: 0 / 1.233 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/1.073, allocations: 0.7215 MB / 1.234 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.727e-05/1.073, allocations: 104.9 kB / 1.234 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.084e-05/1.073, allocations: 4 kB / 1.234 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002385/1.073, allocations: 28.02 kB / 1.234 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.615e-05/1.073, allocations: 31.95 kB / 1.234 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-05/1.073, allocations: 15.98 kB / 1.234 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001932/1.074, allocations: 179.1 kB / 1.234 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9.1e-08/1.074, allocations: 0 / 1.234 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006029/1.074, allocations: 119.9 kB / 1.234 GB, free: 6.238 MB / 0.9356 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.0002309/1.074, allocations: 119.2 kB / 1.235 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001393/1.076, allocations: 0.7576 MB / 1.235 GB, free: 5.281 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/1.076, allocations: 0 / 1.235 GB, free: 5.281 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003391/1.076, allocations: 140.5 kB / 1.235 GB, free: 5.145 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007874/1.077, allocations: 119.5 kB / 1.236 GB, free: 5.027 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/1.078, allocations: 0.5914 MB / 1.236 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004693/1.079, allocations: 0.7767 MB / 1.237 GB, free: 3.594 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002117/1.079, allocations: 55.34 kB / 1.237 GB, free: 3.543 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.982e-05/1.079, allocations: 35.42 kB / 1.237 GB, free: 3.508 MB / 0.9356 GB Notification: Performance of SimCode: time 1.332e-06/1.079, allocations: 0 / 1.237 GB, free: 3.508 MB / 0.9356 GB Notification: Performance of Templates: time 0.01541/1.094, allocations: 7.175 MB / 1.244 GB, free: 12.43 MB / 0.9512 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.512668105773628]