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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001777/0.001777, allocations: 102.1 kB / 19.7 MB, free: 2.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002098/0.002098, allocations: 222.5 kB / 23.01 MB, free: 5.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.433/1.433, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.114/3.114, allocations: 0.49 GB / 0.7958 GB, free: 33.46 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 62.78 kB / 1.155 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3228, allocations: 176.1 MB / 1.327 GB, free: 1.391 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002545/0.3253, allocations: 1.305 MB / 1.328 GB, free: 88 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002433/0.3277, allocations: 1.732 MB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.3278, allocations: 4 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.55e-05/0.3279, allocations: 23.67 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002323/0.3281, allocations: 95.33 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001534/0.3297, allocations: 0.652 MB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008102/0.3305, allocations: 0.7525 MB / 1.332 GB, free: 12.83 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.3306, allocations: 48.89 kB / 1.332 GB, free: 12.78 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003273/0.331, allocations: 299.3 kB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004023/0.3314, allocations: 291.1 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.3315, allocations: 72 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.3316, allocations: 79.98 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.365e-05/0.3317, allocations: 79.69 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002912/0.332, allocations: 255.2 kB / 1.333 GB, free: 11.72 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007542/0.3327, allocations: 0.7048 MB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3327, allocations: 0 / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3327, allocations: 0 / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.954e-06/0.3328, allocations: 0 / 1.333 GB, free: 11.02 MB / 1.029 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.001424/0.3342, allocations: 0.8731 MB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.3342, allocations: 8.031 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.3343, allocations: 48.75 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001369/0.3357, allocations: 389 kB / 1.335 GB, free: 9.598 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.063e-05/0.3357, allocations: 28.38 kB / 1.335 GB, free: 9.57 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.3359, allocations: 52.34 kB / 1.335 GB, free: 9.52 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004861/0.3363, allocations: 216.5 kB / 1.335 GB, free: 9.293 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.3363, allocations: 3.938 kB / 1.335 GB, free: 9.289 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.3364, allocations: 15.92 kB / 1.335 GB, free: 9.273 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.3364, allocations: 4 kB / 1.335 GB, free: 9.27 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003337/0.3367, allocations: 127.9 kB / 1.335 GB, free: 9.145 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001304/0.338, allocations: 0.921 MB / 1.336 GB, free: 8.172 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006522/0.3387, allocations: 220.1 kB / 1.336 GB, free: 7.93 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002534/0.3389, allocations: 98.53 kB / 1.336 GB, free: 7.824 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.289e-05/0.339, allocations: 7.984 kB / 1.336 GB, free: 7.816 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005308/0.3395, allocations: 297.6 kB / 1.337 GB, free: 7.504 MB / 1.029 GB Notification: Performance of pre-optimization done (n=37): time 1.392e-06/0.3395, allocations: 0 / 1.337 GB, free: 7.504 MB / 1.029 GB Notification: Performance of matching and sorting (n=37): time 0.001172/0.3407, allocations: 464.1 kB / 1.337 GB, free: 7.047 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.591e-05/0.3407, allocations: 110.8 kB / 1.337 GB, free: 6.914 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002852/0.341, allocations: 272.1 kB / 1.337 GB, free: 6.641 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8e-05/0.3411, allocations: 53.69 kB / 1.337 GB, free: 6.582 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.3413, allocations: 161 kB / 1.338 GB, free: 6.422 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.128e-05/0.3414, allocations: 103.2 kB / 1.338 GB, free: 6.32 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002605/0.3416, allocations: 154 kB / 1.338 GB, free: 6.164 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.3418, allocations: 338.8 kB / 1.338 GB, free: 5.824 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005385/0.3423, allocations: 224.8 kB / 1.338 GB, free: 5.602 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006733/0.343, allocations: 385.2 kB / 1.339 GB, free: 5.156 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009414/0.3439, allocations: 0.5742 MB / 1.339 GB, free: 4.5 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.3439, allocations: 4 kB / 1.339 GB, free: 4.496 MB / 1.029 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001633/0.3456, allocations: 0.8598 MB / 1.34 GB, free: 3.598 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001514/0.3457, allocations: 190.2 kB / 1.34 GB, free: 3.375 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.3457, allocations: 4 kB / 1.34 GB, free: 3.371 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/0.3458, allocations: 7.938 kB / 1.34 GB, free: 3.363 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.346, allocations: 51.89 kB / 1.34 GB, free: 3.312 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.346, allocations: 7.938 kB / 1.34 GB, free: 3.305 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008843/0.3469, allocations: 183.8 kB / 1.341 GB, free: 3.125 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.441e-05/0.347, allocations: 43.97 kB / 1.341 GB, free: 3.082 MB / 1.029 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.0002258/0.3472, allocations: 168 kB / 1.341 GB, free: 2.91 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.318e-05/0.3472, allocations: 35.77 kB / 1.341 GB, free: 2.875 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.156e-05/0.3473, allocations: 37.73 kB / 1.341 GB, free: 2.836 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.3473, allocations: 8 kB / 1.341 GB, free: 2.828 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3473, allocations: 0 / 1.341 GB, free: 2.828 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/0.3473, allocations: 11.97 kB / 1.341 GB, free: 2.816 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/0.3487, allocations: 0.8864 MB / 1.342 GB, free: 1.875 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.3487, allocations: 8 kB / 1.342 GB, free: 1.867 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002214/0.349, allocations: 43.89 kB / 1.342 GB, free: 1.824 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.349, allocations: 0 / 1.342 GB, free: 1.824 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.149e-05/0.349, allocations: 15.98 kB / 1.342 GB, free: 1.809 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.349, allocations: 0 / 1.342 GB, free: 1.809 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.349, allocations: 192 / 1.342 GB, free: 1.809 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.3502, allocations: 0.7088 MB / 1.343 GB, free: 1.082 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.363e-05/0.3502, allocations: 31.7 kB / 1.343 GB, free: 1.051 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.769e-05/0.3503, allocations: 12.03 kB / 1.343 GB, free: 1.039 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002406/0.3505, allocations: 23.92 kB / 1.343 GB, free: 1.016 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.612e-05/0.3506, allocations: 27.95 kB / 1.343 GB, free: 0.9883 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/0.3506, allocations: 19.98 kB / 1.343 GB, free: 0.9688 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001759/0.3508, allocations: 183.1 kB / 1.343 GB, free: 0.793 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3508, allocations: 0 / 1.343 GB, free: 0.793 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005129/0.3513, allocations: 111.9 kB / 1.343 GB, free: 0.6836 MB / 1.029 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.0001906/0.3515, allocations: 115.2 kB / 1.343 GB, free: 0.5625 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001323/0.3528, allocations: 0.7637 MB / 1.344 GB, free: 15.73 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3528, allocations: 0 / 1.344 GB, free: 15.73 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003659/0.3532, allocations: 152.5 kB / 1.344 GB, free: 15.58 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007747/0.3539, allocations: 113.9 kB / 1.344 GB, free: 15.46 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.3551, allocations: 0.636 MB / 1.345 GB, free: 14.78 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004215/0.3555, allocations: 0.7767 MB / 1.345 GB, free: 13.98 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.397e-05/0.3556, allocations: 39.42 kB / 1.345 GB, free: 13.94 MB / 1.045 GB Notification: Performance of SimCode: time 3.2e-07/0.3556, allocations: 0 / 1.345 GB, free: 13.94 MB / 1.045 GB Notification: Performance of Templates: time 0.009363/0.365, allocations: 5.789 MB / 1.351 GB, free: 8.199 MB / 1.045 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/jenkins1/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] "" Variables in the reference:time,ramUp.u,ramUp.y,ramUp1.y,ramUp.active,ramUpDow.u,ramUpDow.y,ramUpDow.active,ramUpDow1.u,ramUpDow1.y,ramUpDow1.active Variables in the result:ramUp.active,ramUp.u,ramUp.y,ramUp1.y,ramUpDow.active,ramUpDow.u,ramUpDow.y,ramUpDow1.active,ramUpDow1.u,ramUpDow1.y,time [Calling sys.exit(0), Time elapsed: 11.662954024010105]