Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001699/0.001699, allocations: 113.9 kB / 18.94 MB, free: 2.789 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.002062/0.002062, allocations: 190.3 kB / 22.23 MB, free: 5.227 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.57/1.57, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.397/3.397, allocations: 496 MB / 0.7835 GB, free: 33.68 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 66.23 kB / 1.138 GB, free: 33.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4036, allocations: 173.6 MB / 1.307 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002627/0.4062, allocations: 1.309 MB / 1.309 GB, free: 464 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002615/0.4088, allocations: 1.697 MB / 1.31 GB, free: 14.74 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.4089, allocations: 4 kB / 1.31 GB, free: 14.74 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 6.902e-05/0.409, allocations: 27.61 kB / 1.31 GB, free: 14.71 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002508/0.4092, allocations: 95.28 kB / 1.31 GB, free: 14.62 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001592/0.4108, allocations: 0.6494 MB / 1.311 GB, free: 13.98 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000872/0.4117, allocations: 0.7564 MB / 1.312 GB, free: 13.23 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.4119, allocations: 44.92 kB / 1.312 GB, free: 13.18 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003572/0.4122, allocations: 311.2 kB / 1.312 GB, free: 12.88 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004093/0.4126, allocations: 283.1 kB / 1.312 GB, free: 12.6 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001115/0.4127, allocations: 72 kB / 1.312 GB, free: 12.53 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.4129, allocations: 83.98 kB / 1.313 GB, free: 12.45 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.649e-05/0.413, allocations: 71.77 kB / 1.313 GB, free: 12.38 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002763/0.4133, allocations: 259.1 kB / 1.313 GB, free: 12.12 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0007496/0.414, allocations: 0.7009 MB / 1.314 GB, free: 11.42 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.414, allocations: 4 kB / 1.314 GB, free: 11.41 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.333e-06/0.414, allocations: 0 / 1.314 GB, free: 11.41 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.414, allocations: 3.938 kB / 1.314 GB, free: 11.41 MB / 1.014 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.001467/0.4155, allocations: 0.8691 MB / 1.314 GB, free: 10.46 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.4155, allocations: 8.922 kB / 1.314 GB, free: 10.45 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.4157, allocations: 56.7 kB / 1.314 GB, free: 10.39 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.4171, allocations: 393 kB / 1.315 GB, free: 9.988 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.197e-05/0.4171, allocations: 28.38 kB / 1.315 GB, free: 9.961 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.4172, allocations: 48.36 kB / 1.315 GB, free: 9.914 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004838/0.4177, allocations: 206.2 kB / 1.315 GB, free: 9.699 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.4177, allocations: 7.875 kB / 1.315 GB, free: 9.691 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.62e-05/0.4178, allocations: 15.98 kB / 1.315 GB, free: 9.676 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.4178, allocations: 4 kB / 1.315 GB, free: 9.672 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003478/0.4181, allocations: 119.9 kB / 1.315 GB, free: 9.555 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001414/0.4195, allocations: 0.921 MB / 1.316 GB, free: 8.582 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007342/0.4203, allocations: 220.2 kB / 1.316 GB, free: 8.34 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002827/0.4205, allocations: 98.47 kB / 1.316 GB, free: 8.234 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.53e-05/0.4206, allocations: 4 kB / 1.316 GB, free: 8.23 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006815/0.4213, allocations: 301.3 kB / 1.317 GB, free: 7.914 MB / 1.014 GB Notification: Performance of pre-optimization done (n=37): time 1.532e-06/0.4213, allocations: 0 / 1.317 GB, free: 7.914 MB / 1.014 GB Notification: Performance of matching and sorting (n=37): time 0.001228/0.4225, allocations: 459.8 kB / 1.317 GB, free: 7.461 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.609e-05/0.4226, allocations: 122.8 kB / 1.317 GB, free: 7.316 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003028/0.4229, allocations: 264.1 kB / 1.318 GB, free: 7.047 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.341e-05/0.423, allocations: 45.7 kB / 1.318 GB, free: 6.996 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.4231, allocations: 161 kB / 1.318 GB, free: 6.836 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.95e-05/0.4232, allocations: 103.2 kB / 1.318 GB, free: 6.734 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002848/0.4235, allocations: 154 kB / 1.318 GB, free: 6.578 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.4237, allocations: 342.8 kB / 1.318 GB, free: 6.234 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005876/0.4243, allocations: 228.8 kB / 1.319 GB, free: 6.012 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007399/0.425, allocations: 384.3 kB / 1.319 GB, free: 5.566 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.4262, allocations: 0.5736 MB / 1.319 GB, free: 4.914 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.774e-06/0.4262, allocations: 4 kB / 1.319 GB, free: 4.91 MB / 1.014 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00183/0.428, allocations: 0.8467 MB / 1.32 GB, free: 4.02 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001745/0.4282, allocations: 190.2 kB / 1.32 GB, free: 3.797 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.4282, allocations: 4.375 kB / 1.32 GB, free: 3.793 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.549e-05/0.4282, allocations: 11.94 kB / 1.32 GB, free: 3.781 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.4285, allocations: 47.91 kB / 1.321 GB, free: 3.734 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.315e-05/0.4285, allocations: 15.92 kB / 1.321 GB, free: 3.719 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009599/0.4295, allocations: 179.5 kB / 1.321 GB, free: 3.543 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.641e-05/0.4295, allocations: 43.97 kB / 1.321 GB, free: 3.5 MB / 1.014 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.0003364/0.4299, allocations: 183.4 kB / 1.321 GB, free: 3.309 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.088e-05/0.43, allocations: 27.81 kB / 1.321 GB, free: 3.281 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.082e-05/0.43, allocations: 37.92 kB / 1.321 GB, free: 3.242 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.4301, allocations: 4 kB / 1.321 GB, free: 3.238 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/0.4301, allocations: 3.938 kB / 1.321 GB, free: 3.234 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.4301, allocations: 7.984 kB / 1.321 GB, free: 3.227 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/0.4317, allocations: 0.8903 MB / 1.322 GB, free: 2.281 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.4317, allocations: 4 kB / 1.322 GB, free: 2.277 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002619/0.432, allocations: 43.89 kB / 1.322 GB, free: 2.234 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.432, allocations: 3.938 kB / 1.322 GB, free: 2.23 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.996e-05/0.432, allocations: 12 kB / 1.322 GB, free: 2.219 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.432, allocations: 0 / 1.322 GB, free: 2.219 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.432, allocations: 3.984 kB / 1.322 GB, free: 2.215 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.4332, allocations: 0.722 MB / 1.323 GB, free: 1.477 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.614e-05/0.4332, allocations: 23.81 kB / 1.323 GB, free: 1.453 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.52e-05/0.4333, allocations: 8 kB / 1.323 GB, free: 1.445 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/0.4335, allocations: 24.02 kB / 1.323 GB, free: 1.422 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.63e-05/0.4336, allocations: 23.95 kB / 1.323 GB, free: 1.398 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/0.4336, allocations: 19.98 kB / 1.323 GB, free: 1.379 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002018/0.4338, allocations: 179.1 kB / 1.323 GB, free: 1.207 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.4338, allocations: 0 / 1.323 GB, free: 1.207 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005644/0.4344, allocations: 123.9 kB / 1.323 GB, free: 1.086 MB / 1.014 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.0002195/0.4346, allocations: 116 kB / 1.323 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001388/0.436, allocations: 0.7552 MB / 1.324 GB, free: 140 kB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.436, allocations: 0 / 1.324 GB, free: 140 kB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003419/0.4364, allocations: 141.1 kB / 1.324 GB, free: 0 / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008604/0.4372, allocations: 125.8 kB / 1.324 GB, free: 15.87 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.4385, allocations: 0.5979 MB / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000494/0.439, allocations: 0.7689 MB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002033/0.4392, allocations: 51.27 kB / 1.326 GB, free: 14.4 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.729e-05/0.4393, allocations: 47.42 kB / 1.326 GB, free: 14.35 MB / 1.029 GB Notification: Performance of SimCode: time 6.21e-07/0.4393, allocations: 0 / 1.326 GB, free: 14.35 MB / 1.029 GB Notification: Performance of Templates: time 0.01562/0.4549, allocations: 7.181 MB / 1.333 GB, free: 7.266 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.991676402278244]