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.001415/0.001415, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001568/0.001568, allocations: 160 kB / 23.01 MB, free: 4.605 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.441/1.441, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.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 2.803/2.803, allocations: 377.9 MB / 0.6228 GB, free: 12.63 MB / 0.5919 GB " [Timeout remaining time 176] 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.002258/0.002258, allocations: 67.89 kB / 0.982 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9828/0.9851, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.001952/0.987, allocations: 1.203 MB / 1.155 GB, free: 32.56 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001656/0.9887, allocations: 1.712 MB / 1.157 GB, free: 31.32 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.469e-05/0.9888, allocations: 0 / 1.157 GB, free: 31.32 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 5.141e-05/0.9888, allocations: 22.92 kB / 1.157 GB, free: 31.3 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001749/0.989, allocations: 89.59 kB / 1.157 GB, free: 31.24 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.9902, allocations: 0.6502 MB / 1.158 GB, free: 30.9 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0005875/0.9908, allocations: 0.7604 MB / 1.158 GB, free: 30.54 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.9909, allocations: 54.77 kB / 1.158 GB, free: 30.51 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002419/0.9912, allocations: 303.6 kB / 1.159 GB, free: 30.38 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003262/0.9915, allocations: 244.7 kB / 1.159 GB, free: 30.28 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001054/0.9916, allocations: 71.91 kB / 1.159 GB, free: 30.28 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.9918, allocations: 84.73 kB / 1.159 GB, free: 30.28 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.888e-05/0.9918, allocations: 71.53 kB / 1.159 GB, free: 30.23 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002293/0.992, allocations: 237.2 kB / 1.159 GB, free: 30.11 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0006436/0.9927, allocations: 0.6933 MB / 1.16 GB, free: 29.86 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.044e-06/0.9927, allocations: 0 / 1.16 GB, free: 29.86 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.076e-06/0.9927, allocations: 4 kB / 1.16 GB, free: 29.86 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.634e-05/0.9927, allocations: 0 / 1.16 GB, free: 29.86 MB / 1.076 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.001358/0.9941, allocations: 0.8621 MB / 1.161 GB, free: 29.19 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.9941, allocations: 11.78 kB / 1.161 GB, free: 29.19 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.9943, allocations: 49.62 kB / 1.161 GB, free: 29.17 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/0.9956, allocations: 396.5 kB / 1.161 GB, free: 28.94 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.548e-05/0.9957, allocations: 32.09 kB / 1.161 GB, free: 28.93 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-05/0.9958, allocations: 50.66 kB / 1.161 GB, free: 28.91 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004481/0.9962, allocations: 224.1 kB / 1.162 GB, free: 28.8 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.9962, allocations: 3.938 kB / 1.162 GB, free: 28.8 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.341e-05/0.9962, allocations: 6.594 kB / 1.162 GB, free: 28.79 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.9963, allocations: 7.016 kB / 1.162 GB, free: 28.79 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003259/0.9966, allocations: 117.3 kB / 1.162 GB, free: 28.76 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.9976, allocations: 0.7893 MB / 1.162 GB, free: 28.21 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006103/0.9982, allocations: 209.8 kB / 1.163 GB, free: 28.09 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002368/0.9984, allocations: 114.1 kB / 1.163 GB, free: 28.03 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.9985, allocations: 2.938 kB / 1.163 GB, free: 28.03 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004755/0.9989, allocations: 303.5 kB / 1.163 GB, free: 27.88 MB / 1.076 GB Notification: Performance of pre-optimization done (n=37): time 1.903e-06/0.9989, allocations: 2.625 kB / 1.163 GB, free: 27.88 MB / 1.076 GB Notification: Performance of matching and sorting (n=37): time 0.001116/1, allocations: 452.5 kB / 1.164 GB, free: 27.73 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/1, allocations: 118.4 kB / 1.164 GB, free: 27.6 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/1, allocations: 264.7 kB / 1.164 GB, free: 27.44 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.632e-05/1, allocations: 45.14 kB / 1.164 GB, free: 27.4 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/1.001, allocations: 161 kB / 1.164 GB, free: 27.27 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.454e-05/1.001, allocations: 107.5 kB / 1.164 GB, free: 27.18 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002245/1.001, allocations: 152.8 kB / 1.164 GB, free: 27.13 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.195e-05/1.001, allocations: 342.4 kB / 1.165 GB, free: 26.8 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005612/1.001, allocations: 420.9 kB / 1.165 GB, free: 26.52 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006531/1.002, allocations: 0.7604 MB / 1.166 GB, free: 25.81 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007598/1.003, allocations: 0.5716 MB / 1.166 GB, free: 25.36 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.942e-06/1.003, allocations: 6.25 kB / 1.166 GB, free: 25.36 MB / 1.076 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001412/1.004, allocations: 1.039 MB / 1.167 GB, free: 24.71 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 7.248e-05/1.004, allocations: 184.8 kB / 1.168 GB, free: 24.52 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/1.004, allocations: 5.25 kB / 1.168 GB, free: 24.52 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/1.004, allocations: 5.625 kB / 1.168 GB, free: 24.52 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/1.005, allocations: 61.44 kB / 1.168 GB, free: 24.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.669e-06/1.005, allocations: 9.469 kB / 1.168 GB, free: 24.5 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009117/1.006, allocations: 175.9 kB / 1.168 GB, free: 24.47 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.467e-05/1.006, allocations: 42.2 kB / 1.168 GB, free: 24.46 MB / 1.076 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.0001985/1.006, allocations: 170.8 kB / 1.168 GB, free: 24.32 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.181e-05/1.006, allocations: 35.52 kB / 1.168 GB, free: 24.3 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.021e-05/1.006, allocations: 34.44 kB / 1.168 GB, free: 24.28 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/1.006, allocations: 9.188 kB / 1.168 GB, free: 24.27 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/1.006, allocations: 2.625 kB / 1.168 GB, free: 24.27 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/1.006, allocations: 3.422 kB / 1.168 GB, free: 24.27 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/1.007, allocations: 0.8223 MB / 1.169 GB, free: 23.73 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/1.007, allocations: 8 kB / 1.169 GB, free: 23.72 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/1.007, allocations: 39.66 kB / 1.169 GB, free: 23.71 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/1.007, allocations: 9.938 kB / 1.169 GB, free: 23.71 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/1.007, allocations: 13.25 kB / 1.169 GB, free: 23.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/1.007, allocations: 6.375 kB / 1.169 GB, free: 23.7 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/1.007, allocations: 0 / 1.169 GB, free: 23.7 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/1.008, allocations: 0.7071 MB / 1.17 GB, free: 23.27 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.132e-05/1.008, allocations: 42.45 kB / 1.17 GB, free: 23.24 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.096e-05/1.008, allocations: 13.72 kB / 1.17 GB, free: 23.23 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002385/1.009, allocations: 16.06 kB / 1.17 GB, free: 23.23 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.874e-05/1.009, allocations: 29.67 kB / 1.17 GB, free: 23.22 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/1.009, allocations: 20.58 kB / 1.17 GB, free: 23.22 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001362/1.009, allocations: 181.7 kB / 1.17 GB, free: 23.11 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.01e-07/1.009, allocations: 4 kB / 1.17 GB, free: 23.11 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006069/1.009, allocations: 107.6 kB / 1.17 GB, free: 23.1 MB / 1.076 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.0001692/1.01, allocations: 129.1 kB / 1.17 GB, free: 22.99 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00119/1.011, allocations: 0.9424 MB / 1.171 GB, free: 22.27 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.011, allocations: 0 / 1.171 GB, free: 22.27 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003028/1.011, allocations: 140.9 kB / 1.171 GB, free: 22.23 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007768/1.012, allocations: 115.2 kB / 1.171 GB, free: 22.19 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/1.013, allocations: 0.6032 MB / 1.172 GB, free: 21.81 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001681/1.013, allocations: 165 kB / 1.172 GB, free: 21.72 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000201/1.013, allocations: 49 kB / 1.172 GB, free: 21.71 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.304e-05/1.013, allocations: 40.69 kB / 1.172 GB, free: 21.7 MB / 1.076 GB Notification: Performance of SimCode: time 4.81e-07/1.013, allocations: 0 / 1.172 GB, free: 21.7 MB / 1.076 GB Notification: Performance of Templates: time 0.01404/1.028, allocations: 7.783 MB / 1.18 GB, free: 20.77 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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] Reference file matches [Calling sys.exit(0), Time elapsed: 9.114797775051557]