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.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.002437/0.002437, allocations: 87.69 kB / 20.24 MB, free: 4.188 MB / 18.57 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.002879/0.002879, allocations: 157.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 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.581/1.581, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.939/2.939, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 3.566e-06/3.566e-06, allocations: 0 / 0.7864 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.538e-05/4.894e-05, allocations: 7.969 kB / 0.7865 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.004509/0.004558, allocations: 1.236 MB / 0.7877 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005076/0.009634, allocations: 1.722 MB / 0.7893 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001563/0.00979, allocations: 1.219 kB / 0.7893 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 9.427e-05/0.009884, allocations: 23.62 kB / 0.7894 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004045/0.01029, allocations: 104 kB / 0.7895 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002746/0.01304, allocations: 0.6262 MB / 0.7901 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001564/0.0146, allocations: 0.7562 MB / 0.7908 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002353/0.01483, allocations: 52.89 kB / 0.7909 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009531/0.01579, allocations: 423.3 kB / 0.7913 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007863/0.01657, allocations: 231.3 kB / 0.7915 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0002263/0.0168, allocations: 72 kB / 0.7916 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000302/0.0171, allocations: 88.55 kB / 0.7916 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.01724, allocations: 67.75 kB / 0.7917 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000485/0.01772, allocations: 224.2 kB / 0.7919 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001663/0.01939, allocations: 0.8042 MB / 0.7927 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.01939, allocations: 0 / 0.7927 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.455e-06/0.01939, allocations: 4 kB / 0.7927 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.153e-05/0.01941, allocations: 0 / 0.7927 GB, free: 6.309 MB / 0.7448 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.002829/0.02224, allocations: 0.996 MB / 0.7937 GB, free: 5.219 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.0223, allocations: 9.156 kB / 0.7937 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003166/0.02261, allocations: 68.69 kB / 0.7938 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002424/0.02504, allocations: 386.5 kB / 0.7941 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.053e-05/0.02511, allocations: 28.36 kB / 0.7942 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001816/0.02529, allocations: 44.38 kB / 0.7942 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007645/0.02606, allocations: 218.7 kB / 0.7944 GB, free: 4.445 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.02608, allocations: 6.031 kB / 0.7944 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.247e-05/0.02612, allocations: 8.375 kB / 0.7944 GB, free: 4.434 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.855e-05/0.02614, allocations: 8.125 kB / 0.7944 GB, free: 4.426 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006154/0.02675, allocations: 107.9 kB / 0.7945 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002867/0.02962, allocations: 0.9707 MB / 0.7955 GB, free: 3.305 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.03076, allocations: 227.5 kB / 0.7957 GB, free: 3.047 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004756/0.03123, allocations: 104.1 kB / 0.7958 GB, free: 2.934 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.846e-05/0.03128, allocations: 8 kB / 0.7958 GB, free: 2.926 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001032/0.03231, allocations: 302.3 kB / 0.7961 GB, free: 2.605 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=37): time 3.096e-06/0.03232, allocations: 0.6562 kB / 0.7961 GB, free: 2.605 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37): time 0.002114/0.03443, allocations: 453.7 kB / 0.7965 GB, free: 2.16 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001449/0.03458, allocations: 115.9 kB / 0.7966 GB, free: 2.023 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007191/0.03529, allocations: 358.3 kB / 0.797 GB, free: 1.652 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001544/0.03545, allocations: 53.62 kB / 0.797 GB, free: 1.594 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003632/0.03581, allocations: 224.5 kB / 0.7972 GB, free: 1.367 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002122/0.03602, allocations: 111.2 kB / 0.7973 GB, free: 1.258 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005668/0.03659, allocations: 175.8 kB / 0.7975 GB, free: 1.078 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0005198/0.03711, allocations: 0.5334 MB / 0.798 GB, free: 0.5352 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001367/0.03848, allocations: 447.1 kB / 0.7985 GB, free: 64 kB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002095/0.04057, allocations: 0.8686 MB / 0.7993 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001917/0.04249, allocations: 0.6348 MB / 0.7999 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.0425, allocations: 0.5312 kB / 0.7999 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.003701/0.0462, allocations: 1.123 MB / 0.801 GB, free: 13.09 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002552/0.04645, allocations: 186.2 kB / 0.8012 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.04647, allocations: 5.203 kB / 0.8012 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.886e-05/0.0465, allocations: 4 kB / 0.8012 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003675/0.04686, allocations: 55.84 kB / 0.8013 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.969e-05/0.04689, allocations: 15.91 kB / 0.8013 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/0.04843, allocations: 135.6 kB / 0.8014 GB, free: 12.66 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001937/0.04862, allocations: 47.97 kB / 0.8015 GB, free: 12.61 MB / 0.7605 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.0005211/0.04914, allocations: 224.3 kB / 0.8017 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001785/0.04932, allocations: 51.8 kB / 0.8017 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001405/0.04946, allocations: 26.88 kB / 0.8017 GB, free: 12.31 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.782e-05/0.04948, allocations: 8 kB / 0.8018 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.04949, allocations: 0 / 0.8018 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/0.0495, allocations: 5.078 kB / 0.8018 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00313/0.05263, allocations: 0.9741 MB / 0.8027 GB, free: 11.28 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.05264, allocations: 0 / 0.8027 GB, free: 11.28 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004476/0.05308, allocations: 40.47 kB / 0.8028 GB, free: 11.24 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.809e-06/0.05309, allocations: 0 / 0.8028 GB, free: 11.24 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.921e-05/0.05314, allocations: 12.48 kB / 0.8028 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-05/0.05316, allocations: 13.34 kB / 0.8028 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/0.05317, allocations: 3.938 kB / 0.8028 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002445/0.05561, allocations: 0.8463 MB / 0.8036 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.05574, allocations: 31.75 kB / 0.8036 GB, free: 10.31 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.568e-05/0.05582, allocations: 8 kB / 0.8036 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004526/0.05628, allocations: 15.92 kB / 0.8037 GB, free: 10.29 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.0564, allocations: 27.95 kB / 0.8037 GB, free: 10.26 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-05/0.05647, allocations: 19.98 kB / 0.8037 GB, free: 10.24 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0004627/0.05693, allocations: 242.9 kB / 0.8039 GB, free: 10 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.2e-07/0.05693, allocations: 0 / 0.8039 GB, free: 10 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001202/0.05813, allocations: 115.9 kB / 0.804 GB, free: 9.891 MB / 0.7605 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.0003315/0.05846, allocations: 119.1 kB / 0.8042 GB, free: 9.766 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.003214/0.06168, allocations: 1.082 MB / 0.8052 GB, free: 8.566 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.06168, allocations: 0 / 0.8052 GB, free: 8.566 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000689/0.06237, allocations: 169.7 kB / 0.8054 GB, free: 8.398 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/0.06399, allocations: 126.2 kB / 0.8055 GB, free: 8.273 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002245/0.06624, allocations: 0.5924 MB / 0.8061 GB, free: 7.641 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.06658, allocations: 161 kB / 0.8062 GB, free: 7.469 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003796/0.06696, allocations: 51.27 kB / 0.8063 GB, free: 7.418 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.06712, allocations: 44.48 kB / 0.8063 GB, free: 7.375 MB / 0.7605 GB Notification: Performance of SimCode: time 1.493e-06/0.06712, allocations: 0 / 0.8063 GB, free: 7.375 MB / 0.7605 GB Notification: Performance of Templates: time 0.02301/0.09013, allocations: 7.693 MB / 0.8138 GB, free: 15.89 MB / 0.7761 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 240] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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.456073959940113]