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.0009718/0.0009718, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001013/0.001013, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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 0.9629/0.9629, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.97/1.97, allocations: 377.8 MB / 0.6236 GB, free: 8.551 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 1.804e-06/1.804e-06, allocations: 0 / 0.8116 GB, free: 1.676 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.594e-05/1.774e-05, allocations: 7.562 kB / 0.8116 GB, free: 1.668 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.001781/0.001799, allocations: 1.257 MB / 0.8128 GB, free: 440 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0017/0.003499, allocations: 1.741 MB / 0.8145 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.529e-05/0.003574, allocations: 5.375 kB / 0.8145 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.46e-05/0.003619, allocations: 23.67 kB / 0.8146 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001628/0.003782, allocations: 96.42 kB / 0.8147 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008783/0.00466, allocations: 0.6304 MB / 0.8153 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005248/0.005185, allocations: 0.7615 MB / 0.816 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.005338, allocations: 44.89 kB / 0.8161 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003094/0.005648, allocations: 433.3 kB / 0.8165 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002383/0.005886, allocations: 227.3 kB / 0.8167 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.744e-05/0.005964, allocations: 72 kB / 0.8168 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.006071, allocations: 79.98 kB / 0.8168 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.526e-05/0.006126, allocations: 85.36 kB / 0.8169 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.006288, allocations: 207.6 kB / 0.8171 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000394/0.006682, allocations: 0.5259 MB / 0.8176 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.006684, allocations: 0 / 0.8176 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.41e-07/0.006685, allocations: 0.9062 kB / 0.8176 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.89e-06/0.00669, allocations: 4 kB / 0.8176 GB, free: 11.51 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.0008881/0.007578, allocations: 0.95 MB / 0.8186 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.007619, allocations: 8.562 kB / 0.8186 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.007733, allocations: 64.73 kB / 0.8186 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006716/0.008404, allocations: 379.3 kB / 0.819 GB, free: 10 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.382e-05/0.008438, allocations: 28.38 kB / 0.819 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.247e-05/0.008511, allocations: 48.36 kB / 0.8191 GB, free: 9.93 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005276/0.009038, allocations: 204 kB / 0.8193 GB, free: 9.711 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.009048, allocations: 5.328 kB / 0.8193 GB, free: 9.707 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.009067, allocations: 8.375 kB / 0.8193 GB, free: 9.699 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.009078, allocations: 8.125 kB / 0.8193 GB, free: 9.691 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.009198, allocations: 69.25 kB / 0.8193 GB, free: 9.625 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.01022, allocations: 0.9201 MB / 0.8202 GB, free: 8.66 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003256/0.01054, allocations: 196.5 kB / 0.8204 GB, free: 8.434 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.01065, allocations: 71.03 kB / 0.8205 GB, free: 8.352 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.01067, allocations: 7.984 kB / 0.8205 GB, free: 8.344 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003077/0.01098, allocations: 254.2 kB / 0.8207 GB, free: 8.07 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=37): time 1.853e-06/0.01098, allocations: 0 / 0.8207 GB, free: 8.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37): time 0.0006224/0.0116, allocations: 371 kB / 0.8211 GB, free: 7.703 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.01166, allocations: 114.8 kB / 0.8212 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.0119, allocations: 314.2 kB / 0.8215 GB, free: 7.242 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.161e-05/0.01196, allocations: 46.58 kB / 0.8216 GB, free: 7.191 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.01209, allocations: 207.7 kB / 0.8218 GB, free: 6.984 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.257e-05/0.01217, allocations: 103.2 kB / 0.8219 GB, free: 6.883 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002199/0.01239, allocations: 161.1 kB / 0.822 GB, free: 6.719 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.01254, allocations: 0.5156 MB / 0.8225 GB, free: 6.191 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004079/0.01295, allocations: 363.1 kB / 0.8229 GB, free: 5.801 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005829/0.01353, allocations: 0.7796 MB / 0.8236 GB, free: 4.84 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005386/0.01407, allocations: 0.5489 MB / 0.8242 GB, free: 4.203 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.01407, allocations: 0 / 0.8242 GB, free: 4.203 MB / 0.7761 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001142/0.01522, allocations: 0.9836 MB / 0.8251 GB, free: 3.141 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.557e-05/0.01531, allocations: 186.2 kB / 0.8253 GB, free: 2.922 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.01532, allocations: 4 kB / 0.8253 GB, free: 2.918 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.01534, allocations: 5.125 kB / 0.8253 GB, free: 2.914 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.01548, allocations: 47.91 kB / 0.8253 GB, free: 2.867 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.01549, allocations: 7.984 kB / 0.8254 GB, free: 2.859 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004563/0.01595, allocations: 143.8 kB / 0.8255 GB, free: 2.723 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.075e-05/0.01602, allocations: 43.97 kB / 0.8255 GB, free: 2.68 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.0001622/0.01618, allocations: 207.1 kB / 0.8257 GB, free: 2.469 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.807e-05/0.01624, allocations: 49.47 kB / 0.8258 GB, free: 2.422 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003116/0.01655, allocations: 33.8 kB / 0.8258 GB, free: 2.391 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.01656, allocations: 4 kB / 0.8258 GB, free: 2.387 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.01657, allocations: 4 kB / 0.8258 GB, free: 2.383 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.01657, allocations: 4.359 kB / 0.8258 GB, free: 2.379 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008082/0.01738, allocations: 0.891 MB / 0.8267 GB, free: 1.441 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01738, allocations: 0 / 0.8267 GB, free: 1.441 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.01753, allocations: 43.91 kB / 0.8267 GB, free: 1.398 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.01753, allocations: 4 kB / 0.8267 GB, free: 1.395 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.285e-05/0.01755, allocations: 11.98 kB / 0.8267 GB, free: 1.383 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.01756, allocations: 0 / 0.8267 GB, free: 1.383 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.01756, allocations: 7.938 kB / 0.8268 GB, free: 1.375 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006298/0.01819, allocations: 0.7316 MB / 0.8275 GB, free: 0.625 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.009e-05/0.01822, allocations: 27.75 kB / 0.8275 GB, free: 0.5977 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.383e-05/0.01825, allocations: 8 kB / 0.8275 GB, free: 0.5898 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.01843, allocations: 19.92 kB / 0.8275 GB, free: 0.5703 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.673e-05/0.01848, allocations: 27.95 kB / 0.8275 GB, free: 0.543 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.01851, allocations: 20.03 kB / 0.8276 GB, free: 0.5234 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001282/0.01864, allocations: 207 kB / 0.8278 GB, free: 328 kB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01864, allocations: 0 / 0.8278 GB, free: 328 kB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004751/0.01911, allocations: 115.9 kB / 0.8279 GB, free: 212 kB / 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.0001545/0.01927, allocations: 130.9 kB / 0.828 GB, free: 68 kB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0008945/0.02016, allocations: 0.8853 MB / 0.8289 GB, free: 15.07 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.02016, allocations: 0 / 0.8289 GB, free: 15.07 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.02032, allocations: 124.5 kB / 0.829 GB, free: 14.94 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006456/0.02097, allocations: 121.4 kB / 0.8291 GB, free: 14.82 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007406/0.02171, allocations: 0.5446 MB / 0.8296 GB, free: 14.24 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.881e-05/0.02179, allocations: 93.81 kB / 0.8297 GB, free: 14.13 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001383/0.02193, allocations: 51.28 kB / 0.8298 GB, free: 14.08 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.223e-05/0.022, allocations: 36.48 kB / 0.8298 GB, free: 14.04 MB / 0.7917 GB Notification: Performance of SimCode: time 6.52e-07/0.022, allocations: 0 / 0.8298 GB, free: 14.04 MB / 0.7917 GB Notification: Performance of Templates: time 0.01103/0.03303, allocations: 7.71 MB / 0.8373 GB, free: 6.535 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.510389187373221]