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.0009967/0.0009967, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001469/0.001469, allocations: 185 kB / 24.09 MB, free: 416 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.017/1.017, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.885/1.885, allocations: 377.9 MB / 0.624 GB, free: 8.418 MB / 0.5886 GB " [Timeout remaining time 178] 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.335e-06/2.335e-06, allocations: 0 / 0.8121 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.569e-05/2.802e-05, allocations: 3.5 kB / 0.8121 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.001888/0.001916, allocations: 1.245 MB / 0.8133 GB, free: 160 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001878/0.003794, allocations: 1.738 MB / 0.815 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.0039, allocations: 6.438 kB / 0.815 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.893e-05/0.003949, allocations: 19.69 kB / 0.815 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001936/0.004143, allocations: 103.1 kB / 0.8151 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.005274, allocations: 0.631 MB / 0.8157 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0007073/0.005982, allocations: 0.7576 MB / 0.8165 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/0.006157, allocations: 48.89 kB / 0.8165 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006709/0.006828, allocations: 464.6 kB / 0.817 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002824/0.00711, allocations: 202.6 kB / 0.8172 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.595e-05/0.007186, allocations: 52 kB / 0.8172 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.007296, allocations: 64.8 kB / 0.8173 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.572e-05/0.007352, allocations: 63.77 kB / 0.8173 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.007493, allocations: 188.2 kB / 0.8175 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004075/0.0079, allocations: 450.7 kB / 0.8179 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.007905, allocations: 5.375 kB / 0.8179 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.663e-06/0.007906, allocations: 0 / 0.8179 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.007913, allocations: 0 / 0.8179 GB, free: 11.39 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.0009976/0.00891, allocations: 0.9429 MB / 0.8189 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.008951, allocations: 8.031 kB / 0.8189 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.009055, allocations: 61.31 kB / 0.8189 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/0.00937, allocations: 281.5 kB / 0.8192 GB, free: 9.988 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.267e-05/0.009402, allocations: 28.38 kB / 0.8192 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.913e-05/0.009462, allocations: 48.36 kB / 0.8193 GB, free: 9.914 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002567/0.009718, allocations: 205.2 kB / 0.8195 GB, free: 9.695 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.009727, allocations: 192 / 0.8195 GB, free: 9.695 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.009742, allocations: 8.359 kB / 0.8195 GB, free: 9.688 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.009748, allocations: 5.094 kB / 0.8195 GB, free: 9.684 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.562e-05/0.009824, allocations: 51.89 kB / 0.8195 GB, free: 9.633 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007739/0.0106, allocations: 0.8941 MB / 0.8204 GB, free: 8.703 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002351/0.01083, allocations: 170.7 kB / 0.8206 GB, free: 8.5 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.003e-05/0.01089, allocations: 78.17 kB / 0.8206 GB, free: 8.414 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.01092, allocations: 11.97 kB / 0.8207 GB, free: 8.402 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002262/0.01114, allocations: 240 kB / 0.8209 GB, free: 8.141 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=37): time 1.372e-06/0.01114, allocations: 1.938 kB / 0.8209 GB, free: 8.141 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37): time 0.0004078/0.01155, allocations: 335.6 kB / 0.8212 GB, free: 7.809 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.0116, allocations: 110.8 kB / 0.8213 GB, free: 7.676 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.01176, allocations: 310.1 kB / 0.8216 GB, free: 7.359 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.128e-05/0.01181, allocations: 46.8 kB / 0.8216 GB, free: 7.309 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.01192, allocations: 211.7 kB / 0.8219 GB, free: 7.098 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.166e-05/0.012, allocations: 103.1 kB / 0.8219 GB, free: 6.996 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/0.01216, allocations: 156.4 kB / 0.8221 GB, free: 6.836 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003616/0.01252, allocations: 0.5195 MB / 0.8226 GB, free: 6.305 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002705/0.01279, allocations: 329.4 kB / 0.8229 GB, free: 5.949 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003399/0.01313, allocations: 0.5688 MB / 0.8235 GB, free: 5.25 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003955/0.01353, allocations: 0.5077 MB / 0.824 GB, free: 4.648 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.01353, allocations: 0.9062 kB / 0.824 GB, free: 4.648 MB / 0.7761 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007945/0.01433, allocations: 0.9176 MB / 0.8249 GB, free: 3.656 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.000101/0.01443, allocations: 194.2 kB / 0.8251 GB, free: 3.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.01444, allocations: 7.938 kB / 0.8251 GB, free: 3.422 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.01445, allocations: 9.25 kB / 0.8251 GB, free: 3.414 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.01459, allocations: 51.84 kB / 0.8251 GB, free: 3.363 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.0146, allocations: 13.64 kB / 0.8251 GB, free: 3.352 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003434/0.01495, allocations: 133.2 kB / 0.8253 GB, free: 3.223 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-05/0.01499, allocations: 37.03 kB / 0.8253 GB, free: 3.188 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.0001491/0.01514, allocations: 211.7 kB / 0.8255 GB, free: 2.973 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.462e-05/0.01519, allocations: 47.77 kB / 0.8255 GB, free: 2.926 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.752e-05/0.01524, allocations: 34.86 kB / 0.8256 GB, free: 2.891 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.01524, allocations: 4 kB / 0.8256 GB, free: 2.887 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.01524, allocations: 3.188 kB / 0.8256 GB, free: 2.887 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.01525, allocations: 11.98 kB / 0.8256 GB, free: 2.875 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006313/0.01588, allocations: 0.832 MB / 0.8264 GB, free: 2.004 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.01589, allocations: 3.938 kB / 0.8264 GB, free: 2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.016, allocations: 35.97 kB / 0.8264 GB, free: 1.965 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.016, allocations: 4 kB / 0.8264 GB, free: 1.961 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.01602, allocations: 12.7 kB / 0.8265 GB, free: 1.949 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.01602, allocations: 4 kB / 0.8265 GB, free: 1.945 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.01602, allocations: 4.312 kB / 0.8265 GB, free: 1.941 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005081/0.01653, allocations: 0.7028 MB / 0.8272 GB, free: 1.219 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.299e-05/0.01657, allocations: 31.73 kB / 0.8272 GB, free: 1.188 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.01659, allocations: 8 kB / 0.8272 GB, free: 1.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.01671, allocations: 11.98 kB / 0.8272 GB, free: 1.168 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/0.01676, allocations: 35.98 kB / 0.8272 GB, free: 1.133 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.01677, allocations: 19.97 kB / 0.8273 GB, free: 1.113 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.998e-05/0.01687, allocations: 210.8 kB / 0.8275 GB, free: 0.9102 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01687, allocations: 0 / 0.8275 GB, free: 0.9102 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003686/0.01724, allocations: 108 kB / 0.8276 GB, free: 0.8047 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.0001717/0.01741, allocations: 130.9 kB / 0.8277 GB, free: 0.6641 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005891/0.018, allocations: 0.842 MB / 0.8285 GB, free: 15.71 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.01801, allocations: 4 kB / 0.8285 GB, free: 15.71 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.01812, allocations: 112.3 kB / 0.8286 GB, free: 15.59 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004558/0.01858, allocations: 128.2 kB / 0.8287 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007575/0.01934, allocations: 0.5372 MB / 0.8293 GB, free: 14.89 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.255e-05/0.0194, allocations: 97.11 kB / 0.8294 GB, free: 14.78 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001192/0.01952, allocations: 47.28 kB / 0.8294 GB, free: 14.73 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003171/0.01984, allocations: 234 kB / 0.8296 GB, free: 14.5 MB / 0.7917 GB Notification: Performance of SimCode: time 1.402e-06/0.01984, allocations: 0 / 0.8296 GB, free: 14.5 MB / 0.7917 GB Notification: Performance of Templates: time 0.01019/0.03002, allocations: 8.151 MB / 0.8376 GB, free: 6.551 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.245973729994148]