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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001698/0.001698, allocations: 192.3 kB / 22.17 MB, free: 5.656 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.44/1.44, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.739/2.739, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 177] 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=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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 71.88 kB / 1.109 GB, free: 6.445 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7396/0.7416, allocations: 168.7 MB / 1.274 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002619/0.7442, allocations: 1.307 MB / 1.275 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00239/0.7466, allocations: 1.71 MB / 1.277 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.7467, allocations: 0 / 1.277 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.143e-05/0.7468, allocations: 19.69 kB / 1.277 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002402/0.747, allocations: 87.34 kB / 1.277 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001589/0.7486, allocations: 0.6577 MB / 1.278 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0009549/0.7496, allocations: 0.7487 MB / 1.279 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.7497, allocations: 60.66 kB / 1.279 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003437/0.7501, allocations: 299.2 kB / 1.279 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004087/0.7505, allocations: 275.1 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001161/0.7506, allocations: 72 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.7508, allocations: 87.98 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.8e-05/0.7508, allocations: 75.67 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002956/0.7511, allocations: 267.1 kB / 1.28 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007484/0.7519, allocations: 0.6918 MB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.7519, allocations: 4 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.764e-06/0.7519, allocations: 0 / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.7519, allocations: 4 kB / 1.28 GB, free: 14.17 MB / 0.9825 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.001548/0.7534, allocations: 0.9367 MB / 1.281 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.7535, allocations: 16.02 kB / 1.281 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.7536, allocations: 48.7 kB / 1.281 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001527/0.7552, allocations: 459.5 kB / 1.282 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.742e-05/0.7552, allocations: 36.36 kB / 1.282 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.7553, allocations: 48.33 kB / 1.282 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005387/0.7559, allocations: 212.6 kB / 1.282 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.7559, allocations: 3.938 kB / 1.282 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/0.7559, allocations: 4 kB / 1.282 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.7559, allocations: 4 kB / 1.282 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003683/0.7563, allocations: 127.9 kB / 1.282 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001467/0.7578, allocations: 0.957 MB / 1.283 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000753/0.7585, allocations: 224.1 kB / 1.283 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003003/0.7588, allocations: 94.53 kB / 1.283 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.607e-05/0.7588, allocations: 7.984 kB / 1.283 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00063/0.7595, allocations: 281.6 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=37): time 1.833e-06/0.7595, allocations: 0 / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37): time 0.001299/0.7608, allocations: 461.7 kB / 1.284 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.504e-05/0.7609, allocations: 110.8 kB / 1.284 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003212/0.7612, allocations: 278.8 kB / 1.284 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.286e-05/0.7613, allocations: 49.69 kB / 1.285 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.7614, allocations: 161 kB / 1.285 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.756e-05/0.7615, allocations: 103.2 kB / 1.285 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002716/0.7618, allocations: 154 kB / 1.285 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.762, allocations: 338.8 kB / 1.285 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005717/0.7625, allocations: 228.8 kB / 1.285 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007066/0.7632, allocations: 380.7 kB / 1.286 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009961/0.7642, allocations: 0.5805 MB / 1.286 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.7642, allocations: 0 / 1.286 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001686/0.7659, allocations: 0.8443 MB / 1.287 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001409/0.7661, allocations: 190.2 kB / 1.287 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.7661, allocations: 192 / 1.287 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/0.7661, allocations: 11.94 kB / 1.287 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.7663, allocations: 60.2 kB / 1.287 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.7664, allocations: 7.938 kB / 1.287 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.7674, allocations: 179.5 kB / 1.288 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.783e-05/0.7675, allocations: 43.97 kB / 1.288 GB, free: 6.059 MB / 0.9825 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.0002321/0.7677, allocations: 171.5 kB / 1.288 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.615e-05/0.7678, allocations: 31.81 kB / 1.288 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.607e-05/0.7678, allocations: 41.8 kB / 1.288 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.7678, allocations: 7.938 kB / 1.288 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.7678, allocations: 0 / 1.288 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/0.7679, allocations: 11.92 kB / 1.288 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001484/0.7693, allocations: 0.924 MB / 1.289 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.7693, allocations: 3.984 kB / 1.289 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002462/0.7696, allocations: 43.91 kB / 1.289 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.7696, allocations: 0 / 1.289 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.7696, allocations: 11.98 kB / 1.289 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.7696, allocations: 4 kB / 1.289 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.7696, allocations: 80 / 1.289 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/0.7709, allocations: 0.7139 MB / 1.29 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.585e-05/0.771, allocations: 104.9 kB / 1.29 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.131e-05/0.771, allocations: 16.03 kB / 1.29 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.7713, allocations: 11.98 kB / 1.29 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.891e-05/0.7714, allocations: 32.05 kB / 1.29 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.338e-05/0.7714, allocations: 19.98 kB / 1.29 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001819/0.7716, allocations: 182 kB / 1.29 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.7716, allocations: 0 / 1.29 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005562/0.7721, allocations: 115.9 kB / 1.29 GB, free: 3.52 MB / 0.9825 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.0002047/0.7723, allocations: 123.6 kB / 1.29 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001386/0.7737, allocations: 0.7661 MB / 1.291 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.7737, allocations: 128 / 1.291 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000362/0.7741, allocations: 143.8 kB / 1.291 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008428/0.7749, allocations: 115.8 kB / 1.291 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.7761, allocations: 0.618 MB / 1.292 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004121/0.7765, allocations: 0.7767 MB / 1.293 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000178/0.7767, allocations: 47.28 kB / 1.293 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.594e-05/0.7768, allocations: 35.42 kB / 1.293 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of SimCode: time 7.21e-07/0.7768, allocations: 4 kB / 1.293 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of Templates: time 0.01316/0.7899, allocations: 7.104 MB / 1.3 GB, free: 9.746 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.makefile [Timeout 300] (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 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.809422643855214]