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.001372/0.001372, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001082/0.001082, allocations: 169 kB / 24.28 MB, free: 276 kB / 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 0.9867/0.9867, allocations: 177.1 MB / 204.6 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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 1.88/1.88, allocations: 359 MB / 0.6055 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 177] 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 2.775e-06/2.775e-06, allocations: 0.6562 kB / 0.7872 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.289e-05/3.567e-05, allocations: 7.031 kB / 0.7872 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002933/0.002969, allocations: 1.246 MB / 0.7884 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00313/0.006098, allocations: 1.749 MB / 0.7901 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001561/0.006254, allocations: 0.625 kB / 0.7901 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.251e-05/0.006307, allocations: 27.56 kB / 0.7901 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001807/0.006488, allocations: 92.73 kB / 0.7902 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.007614, allocations: 0.6273 MB / 0.7908 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006945/0.008309, allocations: 0.7657 MB / 0.7916 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.008434, allocations: 44.89 kB / 0.7916 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003626/0.008797, allocations: 427.4 kB / 0.792 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002502/0.009047, allocations: 232.9 kB / 0.7922 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.387e-05/0.009121, allocations: 72 kB / 0.7923 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.009224, allocations: 79.98 kB / 0.7924 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.577e-05/0.00928, allocations: 84.66 kB / 0.7925 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.009448, allocations: 219.6 kB / 0.7927 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004507/0.009899, allocations: 0.5182 MB / 0.7932 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.009903, allocations: 3.219 kB / 0.7932 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.604e-06/0.009906, allocations: 3.984 kB / 0.7932 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.009912, allocations: 0 / 0.7932 GB, free: 6.445 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.00103/0.01094, allocations: 0.9566 MB / 0.7941 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.01098, allocations: 8.031 kB / 0.7941 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.0111, allocations: 60.75 kB / 0.7942 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008151/0.01192, allocations: 378.1 kB / 0.7945 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.95e-05/0.01196, allocations: 33.61 kB / 0.7946 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.349e-05/0.01203, allocations: 52.36 kB / 0.7946 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002874/0.01232, allocations: 195.9 kB / 0.7948 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.01233, allocations: 192 / 0.7948 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.01234, allocations: 8.375 kB / 0.7948 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.01235, allocations: 9.062 kB / 0.7948 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.01246, allocations: 71.88 kB / 0.7949 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008307/0.01329, allocations: 0.9164 MB / 0.7958 GB, free: 3.598 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002724/0.01357, allocations: 194.3 kB / 0.796 GB, free: 3.375 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.507e-05/0.01365, allocations: 71.03 kB / 0.796 GB, free: 3.293 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.01367, allocations: 4 kB / 0.7961 GB, free: 3.289 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002803/0.01395, allocations: 260.9 kB / 0.7963 GB, free: 3.008 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=37): time 1.493e-06/0.01396, allocations: 4.562 kB / 0.7963 GB, free: 3.004 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37): time 0.0005028/0.01446, allocations: 367.1 kB / 0.7967 GB, free: 2.641 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/0.01451, allocations: 118.8 kB / 0.7968 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.01472, allocations: 306.2 kB / 0.7971 GB, free: 2.18 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.483e-05/0.01477, allocations: 45.7 kB / 0.7971 GB, free: 2.129 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.01489, allocations: 212.2 kB / 0.7973 GB, free: 1.914 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.856e-05/0.01496, allocations: 100.9 kB / 0.7974 GB, free: 1.816 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001693/0.01513, allocations: 159.8 kB / 0.7976 GB, free: 1.652 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.01527, allocations: 0.5156 MB / 0.7981 GB, free: 1.125 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003331/0.01561, allocations: 363.1 kB / 0.7984 GB, free: 0.7344 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004912/0.0161, allocations: 0.7796 MB / 0.7992 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004566/0.01655, allocations: 0.5359 MB / 0.7997 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01656, allocations: 4.906 kB / 0.7997 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009204/0.01748, allocations: 0.9895 MB / 0.8007 GB, free: 14.08 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 8.931e-05/0.01756, allocations: 186.2 kB / 0.8008 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.01757, allocations: 4 kB / 0.8008 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.01759, allocations: 4.781 kB / 0.8008 GB, free: 13.85 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.0177, allocations: 52.34 kB / 0.8009 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.01771, allocations: 4 kB / 0.8009 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003498/0.01806, allocations: 142.9 kB / 0.801 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-05/0.01812, allocations: 51.95 kB / 0.8011 GB, free: 13.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.0001478/0.01827, allocations: 200 kB / 0.8013 GB, free: 13.41 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.652e-05/0.01831, allocations: 51.73 kB / 0.8013 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.961e-05/0.01836, allocations: 40.61 kB / 0.8014 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.01837, allocations: 4 kB / 0.8014 GB, free: 13.31 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.01837, allocations: 0 / 0.8014 GB, free: 13.31 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.01838, allocations: 0 / 0.8014 GB, free: 13.31 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006833/0.01906, allocations: 0.8887 MB / 0.8022 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.01906, allocations: 4 kB / 0.8022 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.01917, allocations: 39.92 kB / 0.8023 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.01917, allocations: 4 kB / 0.8023 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.01919, allocations: 11.98 kB / 0.8023 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.01919, allocations: 4 kB / 0.8023 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.0192, allocations: 3.938 kB / 0.8023 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005302/0.01973, allocations: 0.7336 MB / 0.803 GB, free: 11.56 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 2.74e-05/0.01975, allocations: 28.88 kB / 0.803 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.01978, allocations: 11.98 kB / 0.8031 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.01989, allocations: 15.94 kB / 0.8031 GB, free: 11.51 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/0.01993, allocations: 33 kB / 0.8031 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.01995, allocations: 19.98 kB / 0.8031 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001049/0.02006, allocations: 203.4 kB / 0.8033 GB, free: 11.26 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8.1e-08/0.02006, allocations: 4 kB / 0.8033 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003286/0.02039, allocations: 119.9 kB / 0.8034 GB, free: 11.14 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.0001896/0.02058, allocations: 123.1 kB / 0.8036 GB, free: 11.01 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0006905/0.02127, allocations: 0.8834 MB / 0.8044 GB, free: 10.01 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.02127, allocations: 4 kB / 0.8044 GB, free: 10.01 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.0214, allocations: 127.6 kB / 0.8045 GB, free: 9.879 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004654/0.02186, allocations: 123.2 kB / 0.8047 GB, free: 9.758 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006424/0.0225, allocations: 0.5379 MB / 0.8052 GB, free: 9.18 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.879e-05/0.02258, allocations: 93.81 kB / 0.8053 GB, free: 9.07 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001297/0.02271, allocations: 59.3 kB / 0.8053 GB, free: 9.012 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.533e-05/0.02277, allocations: 40.48 kB / 0.8054 GB, free: 8.973 MB / 0.7605 GB Notification: Performance of SimCode: time 8.11e-07/0.02277, allocations: 0 / 0.8054 GB, free: 8.973 MB / 0.7605 GB Notification: Performance of Templates: time 0.008662/0.03143, allocations: 7.7 MB / 0.8129 GB, free: 1.469 MB / 0.7605 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.321520636789501]