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.001024/0.001024, allocations: 87.58 kB / 20.45 MB, free: 4.109 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.001192/0.001192, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9468/0.9468, allocations: 177.1 MB / 204.2 MB, free: 5.254 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.956/1.956, allocations: 377.8 MB / 0.6236 GB, free: 8.539 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.793e-06/1.793e-06, allocations: 0 / 0.8116 GB, free: 1.668 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.534e-05/1.713e-05, allocations: 4.984 kB / 0.8116 GB, free: 1.664 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.0016/0.001618, allocations: 1.255 MB / 0.8128 GB, free: 436 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001863/0.00348, allocations: 1.747 MB / 0.8145 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.903e-05/0.003579, allocations: 0 / 0.8145 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.912e-05/0.003628, allocations: 23.62 kB / 0.8146 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001945/0.003823, allocations: 108.3 kB / 0.8147 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.004854, allocations: 0.6277 MB / 0.8153 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006054/0.005459, allocations: 0.7602 MB / 0.816 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.00559, allocations: 49.42 kB / 0.8161 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004256/0.006015, allocations: 459.9 kB / 0.8165 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002665/0.006282, allocations: 210.9 kB / 0.8167 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.958e-05/0.006351, allocations: 56.62 kB / 0.8168 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.915e-05/0.00645, allocations: 60.55 kB / 0.8168 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.745e-05/0.006498, allocations: 63.77 kB / 0.8169 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.006653, allocations: 192.4 kB / 0.8171 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004482/0.007101, allocations: 442.8 kB / 0.8175 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.007104, allocations: 1.375 kB / 0.8175 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.82e-07/0.007105, allocations: 0 / 0.8175 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.007112, allocations: 0 / 0.8175 GB, free: 11.66 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.001029/0.008141, allocations: 0.935 MB / 0.8184 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.008183, allocations: 9.25 kB / 0.8184 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.00831, allocations: 64.69 kB / 0.8185 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.008653, allocations: 288.6 kB / 0.8187 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.455e-05/0.008687, allocations: 28.31 kB / 0.8188 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.894e-05/0.008756, allocations: 53.31 kB / 0.8188 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003586/0.009115, allocations: 213.4 kB / 0.819 GB, free: 9.945 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.009127, allocations: 192 / 0.819 GB, free: 9.945 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/0.009152, allocations: 8.359 kB / 0.819 GB, free: 9.938 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.009165, allocations: 4.375 kB / 0.819 GB, free: 9.934 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.009294, allocations: 71.83 kB / 0.8191 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.01035, allocations: 0.9296 MB / 0.82 GB, free: 8.891 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003232/0.01067, allocations: 177.6 kB / 0.8202 GB, free: 8.68 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.241e-05/0.01077, allocations: 72.16 kB / 0.8203 GB, free: 8.598 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.01079, allocations: 7.984 kB / 0.8203 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002918/0.01109, allocations: 262.4 kB / 0.8205 GB, free: 8.309 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=37): time 1.332e-06/0.01109, allocations: 0 / 0.8205 GB, free: 8.309 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37): time 0.0005138/0.0116, allocations: 373.9 kB / 0.8209 GB, free: 7.941 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.01165, allocations: 107.5 kB / 0.821 GB, free: 7.812 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.01185, allocations: 310.3 kB / 0.8213 GB, free: 7.492 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.529e-05/0.0119, allocations: 50.61 kB / 0.8213 GB, free: 7.438 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.01203, allocations: 199.7 kB / 0.8215 GB, free: 7.238 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.405e-05/0.0121, allocations: 112.2 kB / 0.8216 GB, free: 7.129 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/0.01226, allocations: 151.8 kB / 0.8218 GB, free: 6.973 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.0124, allocations: 0.5156 MB / 0.8223 GB, free: 6.445 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003498/0.01275, allocations: 368.1 kB / 0.8226 GB, free: 6.051 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004569/0.01321, allocations: 0.6079 MB / 0.8232 GB, free: 5.312 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005049/0.01372, allocations: 0.5357 MB / 0.8237 GB, free: 4.688 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.01372, allocations: 0 / 0.8237 GB, free: 4.688 MB / 0.7761 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009759/0.0147, allocations: 0.981 MB / 0.8247 GB, free: 3.629 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.0148, allocations: 194.2 kB / 0.8249 GB, free: 3.402 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.01481, allocations: 8.562 kB / 0.8249 GB, free: 3.395 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/0.01483, allocations: 9.406 kB / 0.8249 GB, free: 3.387 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.01498, allocations: 47.91 kB / 0.8249 GB, free: 3.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.01499, allocations: 7.938 kB / 0.8249 GB, free: 3.332 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003508/0.01534, allocations: 141.7 kB / 0.8251 GB, free: 3.195 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.307e-05/0.01539, allocations: 43.91 kB / 0.8251 GB, free: 3.152 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.0001504/0.01554, allocations: 198.5 kB / 0.8253 GB, free: 2.949 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.854e-05/0.01559, allocations: 51.75 kB / 0.8254 GB, free: 2.898 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.881e-05/0.01564, allocations: 33.8 kB / 0.8254 GB, free: 2.863 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.01565, allocations: 4 kB / 0.8254 GB, free: 2.859 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.01565, allocations: 4 kB / 0.8254 GB, free: 2.855 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.01566, allocations: 4.031 kB / 0.8254 GB, free: 2.852 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000743/0.0164, allocations: 0.8939 MB / 0.8263 GB, free: 1.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.0164, allocations: 4 kB / 0.8263 GB, free: 1.906 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.01652, allocations: 43.91 kB / 0.8263 GB, free: 1.863 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.01653, allocations: 4 kB / 0.8263 GB, free: 1.859 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.01655, allocations: 11.98 kB / 0.8263 GB, free: 1.848 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.01655, allocations: 4 kB / 0.8263 GB, free: 1.844 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.01655, allocations: 7.938 kB / 0.8263 GB, free: 1.836 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005717/0.01713, allocations: 0.7301 MB / 0.8271 GB, free: 1.086 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.864e-05/0.01715, allocations: 35.75 kB / 0.8271 GB, free: 1.051 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.01718, allocations: 4 kB / 0.8271 GB, free: 1.047 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.01729, allocations: 15.98 kB / 0.8271 GB, free: 1.031 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.914e-05/0.01735, allocations: 35.89 kB / 0.8271 GB, free: 0.9961 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.01737, allocations: 15.98 kB / 0.8272 GB, free: 0.9805 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001161/0.01749, allocations: 207 kB / 0.8274 GB, free: 0.7812 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01749, allocations: 0 / 0.8274 GB, free: 0.7812 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003524/0.01784, allocations: 119.9 kB / 0.8275 GB, free: 0.6641 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.0001699/0.01801, allocations: 122.9 kB / 0.8276 GB, free: 0.5312 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0007206/0.01873, allocations: 0.8854 MB / 0.8285 GB, free: 15.53 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01873, allocations: 0.75 kB / 0.8285 GB, free: 15.53 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.01887, allocations: 134.2 kB / 0.8286 GB, free: 15.4 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004892/0.01936, allocations: 118.3 kB / 0.8287 GB, free: 15.28 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007069/0.02007, allocations: 0.5495 MB / 0.8292 GB, free: 14.7 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.375e-05/0.02013, allocations: 93.12 kB / 0.8293 GB, free: 14.59 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001084/0.02024, allocations: 47.28 kB / 0.8294 GB, free: 14.54 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.557e-05/0.02029, allocations: 36.48 kB / 0.8294 GB, free: 14.5 MB / 0.7917 GB Notification: Performance of SimCode: time 5.61e-07/0.02029, allocations: 0 / 0.8294 GB, free: 14.5 MB / 0.7917 GB Notification: Performance of Templates: time 0.009477/0.02977, allocations: 8.169 MB / 0.8374 GB, free: 6.543 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.408976562786847]