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.001195/0.001195, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001261/0.001261, allocations: 173 kB / 24.28 MB, free: 272 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 1.013/1.013, allocations: 177.1 MB / 204.6 MB, free: 5.336 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.913/1.913, allocations: 377.8 MB / 0.6239 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.986e-06/2.986e-06, allocations: 0 / 0.8116 GB, free: 1.98 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.154e-05/3.453e-05, allocations: 2.969 kB / 0.8116 GB, free: 1.977 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002762/0.002796, allocations: 1.243 MB / 0.8128 GB, free: 0.75 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002628/0.005424, allocations: 1.742 MB / 0.8145 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001885/0.005613, allocations: 0 / 0.8145 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 6.884e-05/0.005681, allocations: 29.14 kB / 0.8145 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002858/0.005967, allocations: 103.3 kB / 0.8146 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001559/0.007526, allocations: 0.6237 MB / 0.8153 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001054/0.008581, allocations: 0.7571 MB / 0.816 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002464/0.008827, allocations: 55.08 kB / 0.816 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000775/0.009602, allocations: 423.4 kB / 0.8165 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005048/0.01011, allocations: 235.3 kB / 0.8167 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001583/0.01027, allocations: 72 kB / 0.8167 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002064/0.01047, allocations: 83.98 kB / 0.8168 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.182e-05/0.01055, allocations: 68.28 kB / 0.8169 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0003001/0.01085, allocations: 224.3 kB / 0.8171 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0007601/0.01161, allocations: 0.5143 MB / 0.8176 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.01162, allocations: 0.5 kB / 0.8176 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.803e-06/0.01162, allocations: 1.594 kB / 0.8176 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.01163, allocations: 3.938 kB / 0.8176 GB, free: 11.84 MB / 0.7761 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.001163/0.01279, allocations: 0.9495 MB / 0.8185 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.01284, allocations: 12.03 kB / 0.8185 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/0.01299, allocations: 65.61 kB / 0.8186 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007775/0.01376, allocations: 386.3 kB / 0.819 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.075e-05/0.0138, allocations: 28.38 kB / 0.819 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.256e-05/0.01388, allocations: 48.36 kB / 0.8191 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003018/0.01418, allocations: 204.9 kB / 0.8192 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.01419, allocations: 4.188 kB / 0.8193 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.01421, allocations: 5.594 kB / 0.8193 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.01422, allocations: 8.125 kB / 0.8193 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.01436, allocations: 71.88 kB / 0.8193 GB, free: 9.938 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009759/0.01533, allocations: 0.9219 MB / 0.8202 GB, free: 8.973 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003111/0.01565, allocations: 184.9 kB / 0.8204 GB, free: 8.758 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.858e-05/0.01573, allocations: 71.03 kB / 0.8205 GB, free: 8.676 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.01576, allocations: 15.92 kB / 0.8205 GB, free: 8.66 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002933/0.01606, allocations: 254.1 kB / 0.8207 GB, free: 8.387 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=37): time 1.583e-06/0.01606, allocations: 0 / 0.8207 GB, free: 8.387 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37): time 0.0005875/0.01665, allocations: 370.1 kB / 0.8211 GB, free: 8.023 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.646e-05/0.01672, allocations: 118.7 kB / 0.8212 GB, free: 7.883 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/0.01696, allocations: 311.3 kB / 0.8215 GB, free: 7.562 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.359e-05/0.01702, allocations: 49.7 kB / 0.8215 GB, free: 7.508 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.01715, allocations: 203.7 kB / 0.8217 GB, free: 7.305 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.582e-05/0.01723, allocations: 104.3 kB / 0.8218 GB, free: 7.203 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/0.01742, allocations: 155.8 kB / 0.822 GB, free: 7.043 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.01759, allocations: 0.5195 MB / 0.8225 GB, free: 6.512 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003899/0.01798, allocations: 367.7 kB / 0.8228 GB, free: 6.117 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005158/0.0185, allocations: 0.7754 MB / 0.8236 GB, free: 5.16 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005051/0.019, allocations: 0.543 MB / 0.8241 GB, free: 4.523 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.01901, allocations: 0 / 0.8241 GB, free: 4.523 MB / 0.7761 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001045/0.02005, allocations: 0.9877 MB / 0.8251 GB, free: 3.465 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001137/0.02017, allocations: 186.2 kB / 0.8253 GB, free: 3.246 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.02018, allocations: 4 kB / 0.8253 GB, free: 3.242 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.998e-05/0.02021, allocations: 12 kB / 0.8253 GB, free: 3.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.02035, allocations: 47.84 kB / 0.8253 GB, free: 3.184 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.02037, allocations: 7.984 kB / 0.8253 GB, free: 3.176 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004138/0.02078, allocations: 142.5 kB / 0.8255 GB, free: 3.039 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.907e-05/0.02084, allocations: 45.59 kB / 0.8255 GB, free: 2.996 MB / 0.7761 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.0001916/0.02103, allocations: 210.4 kB / 0.8257 GB, free: 2.781 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.76e-05/0.02109, allocations: 48.17 kB / 0.8258 GB, free: 2.734 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.662e-05/0.02115, allocations: 33.81 kB / 0.8258 GB, free: 2.703 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.02115, allocations: 4 kB / 0.8258 GB, free: 2.699 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/0.02116, allocations: 0 / 0.8258 GB, free: 2.699 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.02117, allocations: 3.984 kB / 0.8258 GB, free: 2.695 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008655/0.02204, allocations: 0.8864 MB / 0.8267 GB, free: 1.762 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.02204, allocations: 0 / 0.8267 GB, free: 1.762 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.02218, allocations: 43.84 kB / 0.8267 GB, free: 1.719 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.02218, allocations: 7.984 kB / 0.8267 GB, free: 1.711 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/0.02221, allocations: 15.98 kB / 0.8267 GB, free: 1.695 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.02222, allocations: 4 kB / 0.8267 GB, free: 1.691 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.02222, allocations: 7.875 kB / 0.8268 GB, free: 1.684 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006039/0.02282, allocations: 0.7251 MB / 0.8275 GB, free: 0.9375 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.02286, allocations: 31.75 kB / 0.8275 GB, free: 0.9062 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.416e-05/0.02289, allocations: 8 kB / 0.8275 GB, free: 0.8984 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.02301, allocations: 15.92 kB / 0.8275 GB, free: 0.8828 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.842e-05/0.02308, allocations: 31.95 kB / 0.8275 GB, free: 0.8516 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.0231, allocations: 19.98 kB / 0.8276 GB, free: 0.832 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001267/0.02323, allocations: 207 kB / 0.8278 GB, free: 0.6289 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.02323, allocations: 4 kB / 0.8278 GB, free: 0.625 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003936/0.02362, allocations: 115.9 kB / 0.8279 GB, free: 0.5117 MB / 0.7761 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.0001975/0.02382, allocations: 129.2 kB / 0.828 GB, free: 384 kB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0007681/0.02459, allocations: 0.8931 MB / 0.8289 GB, free: 15.37 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.02459, allocations: 0 / 0.8289 GB, free: 15.37 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.02473, allocations: 111.5 kB / 0.829 GB, free: 15.25 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005147/0.02524, allocations: 122 kB / 0.8291 GB, free: 15.13 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007469/0.02599, allocations: 0.5381 MB / 0.8296 GB, free: 14.56 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.39e-05/0.02606, allocations: 93.81 kB / 0.8297 GB, free: 14.45 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.000145/0.02621, allocations: 55.22 kB / 0.8298 GB, free: 14.39 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.954e-05/0.02627, allocations: 40.48 kB / 0.8298 GB, free: 14.36 MB / 0.7917 GB Notification: Performance of SimCode: time 1.072e-06/0.02627, allocations: 0 / 0.8298 GB, free: 14.36 MB / 0.7917 GB Notification: Performance of Templates: time 0.01002/0.03629, allocations: 7.716 MB / 0.8373 GB, free: 6.84 MB / 0.7917 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 240] 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","",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.4073904491961]