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.001601/0.001601, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001814/0.001814, allocations: 161 kB / 23.82 MB, free: 0.75 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.012/1.012, allocations: 177.1 MB / 204.2 MB, free: 5.258 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.888/1.888, allocations: 359 MB / 0.6052 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 178] 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.856e-06/2.856e-06, allocations: 0 / 0.7872 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.589e-05/3.874e-05, allocations: 8.922 kB / 0.7872 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.001845/0.001884, allocations: 1.25 MB / 0.7884 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001708/0.003592, allocations: 1.747 MB / 0.7901 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.114e-05/0.003673, allocations: 0 / 0.7901 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.561e-05/0.003719, allocations: 23.67 kB / 0.7901 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001755/0.003895, allocations: 108.7 kB / 0.7902 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000936/0.004831, allocations: 0.6246 MB / 0.7908 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005487/0.005379, allocations: 0.7601 MB / 0.7916 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.00551, allocations: 48.89 kB / 0.7916 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003296/0.005839, allocations: 419.4 kB / 0.792 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002552/0.006094, allocations: 236.2 kB / 0.7922 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.806e-05/0.006172, allocations: 68.59 kB / 0.7923 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.006283, allocations: 87.98 kB / 0.7924 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.42e-05/0.006337, allocations: 72.47 kB / 0.7925 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001701/0.006507, allocations: 219.6 kB / 0.7927 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004177/0.006925, allocations: 0.5156 MB / 0.7932 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.006928, allocations: 0 / 0.7932 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.91e-07/0.006929, allocations: 0 / 0.7932 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.006939, allocations: 0 / 0.7932 GB, free: 6.262 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.0008924/0.007831, allocations: 0.9584 MB / 0.7941 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.007864, allocations: 8.031 kB / 0.7941 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.007977, allocations: 65.48 kB / 0.7942 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006725/0.00865, allocations: 381.7 kB / 0.7946 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.112e-05/0.008681, allocations: 33.64 kB / 0.7946 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.874e-05/0.00875, allocations: 44.36 kB / 0.7946 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002746/0.009024, allocations: 209.3 kB / 0.7948 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.009031, allocations: 192 / 0.7948 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.009048, allocations: 4.375 kB / 0.7948 GB, free: 4.445 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.009056, allocations: 8.125 kB / 0.7948 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.009168, allocations: 71.88 kB / 0.7949 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007953/0.009963, allocations: 0.9203 MB / 0.7958 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.01022, allocations: 187.9 kB / 0.796 GB, free: 3.184 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.076e-05/0.0103, allocations: 67.03 kB / 0.796 GB, free: 3.105 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.01033, allocations: 12.61 kB / 0.7961 GB, free: 3.094 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002473/0.01058, allocations: 258.3 kB / 0.7963 GB, free: 2.816 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=37): time 2.144e-06/0.01058, allocations: 0.5 kB / 0.7963 GB, free: 2.816 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37): time 0.0005012/0.01108, allocations: 368.5 kB / 0.7967 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.01112, allocations: 119.6 kB / 0.7968 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.01131, allocations: 310.2 kB / 0.7971 GB, free: 1.988 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.132e-05/0.01136, allocations: 49.7 kB / 0.7971 GB, free: 1.934 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.01146, allocations: 200.6 kB / 0.7973 GB, free: 1.73 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.383e-05/0.01153, allocations: 107.2 kB / 0.7974 GB, free: 1.625 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.01169, allocations: 158 kB / 0.7976 GB, free: 1.465 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.01182, allocations: 0.5195 MB / 0.7981 GB, free: 0.9336 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003189/0.01214, allocations: 359.1 kB / 0.7984 GB, free: 0.5469 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004566/0.0126, allocations: 0.7904 MB / 0.7992 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00043/0.01303, allocations: 0.5423 MB / 0.7997 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.01303, allocations: 0 / 0.7997 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008877/0.01392, allocations: 0.984 MB / 0.8007 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 7.737e-05/0.01399, allocations: 187.1 kB / 0.8008 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.014, allocations: 0 / 0.8008 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.01401, allocations: 8 kB / 0.8009 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.01413, allocations: 51.81 kB / 0.8009 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.01414, allocations: 15.92 kB / 0.8009 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003458/0.01449, allocations: 139.6 kB / 0.8011 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-05/0.01454, allocations: 41.06 kB / 0.8011 GB, free: 13.42 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.00013/0.01467, allocations: 207.5 kB / 0.8013 GB, free: 13.21 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.335e-05/0.01471, allocations: 47.8 kB / 0.8013 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.43e-05/0.01476, allocations: 34.19 kB / 0.8014 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.01476, allocations: 4 kB / 0.8014 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.01477, allocations: 0 / 0.8014 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.01477, allocations: 7.984 kB / 0.8014 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006561/0.01543, allocations: 0.8823 MB / 0.8022 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.01543, allocations: 0 / 0.8022 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.01554, allocations: 39.91 kB / 0.8023 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.01554, allocations: 0 / 0.8023 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.01556, allocations: 11.98 kB / 0.8023 GB, free: 12.13 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.01556, allocations: 8 kB / 0.8023 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.01556, allocations: 3.938 kB / 0.8023 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005125/0.01608, allocations: 0.7424 MB / 0.803 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 2.373e-05/0.0161, allocations: 31.75 kB / 0.8031 GB, free: 11.33 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.01613, allocations: 8 kB / 0.8031 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.01624, allocations: 15.92 kB / 0.8031 GB, free: 11.3 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.934e-05/0.01629, allocations: 27.95 kB / 0.8031 GB, free: 11.28 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.0163, allocations: 27.98 kB / 0.8031 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001085/0.01641, allocations: 211 kB / 0.8033 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01641, allocations: 0 / 0.8033 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003437/0.01676, allocations: 119.9 kB / 0.8035 GB, free: 10.93 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.0001302/0.01689, allocations: 115.1 kB / 0.8036 GB, free: 10.8 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0006639/0.01755, allocations: 0.8883 MB / 0.8044 GB, free: 9.805 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01755, allocations: 0 / 0.8044 GB, free: 9.805 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.01768, allocations: 123.8 kB / 0.8045 GB, free: 9.68 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004743/0.01815, allocations: 125.7 kB / 0.8047 GB, free: 9.555 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006279/0.01878, allocations: 0.5411 MB / 0.8052 GB, free: 8.973 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.334e-05/0.01885, allocations: 93.81 kB / 0.8053 GB, free: 8.859 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001128/0.01896, allocations: 59.31 kB / 0.8053 GB, free: 8.801 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.718e-05/0.01902, allocations: 40.48 kB / 0.8054 GB, free: 8.762 MB / 0.7605 GB Notification: Performance of SimCode: time 6.92e-07/0.01902, allocations: 0 / 0.8054 GB, free: 8.762 MB / 0.7605 GB Notification: Performance of Templates: time 0.008565/0.02758, allocations: 7.705 MB / 0.8129 GB, free: 1.254 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.544857857283205]