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.001347/0.001347, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001105/0.001105, allocations: 161 kB / 24.16 MB, free: 336 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 0.964/0.964, allocations: 177.2 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.017/2.017, allocations: 377.9 MB / 0.624 GB, free: 8.387 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.214e-06/2.214e-06, allocations: 0 / 0.7601 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.702e-05/2.924e-05, allocations: 10.28 kB / 0.7601 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.00244/0.002469, allocations: 1.282 MB / 0.7614 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002229/0.004697, allocations: 1.764 MB / 0.7631 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/0.004831, allocations: 0 / 0.7631 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 5.54e-05/0.004887, allocations: 23.67 kB / 0.7631 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002449/0.005132, allocations: 99.91 kB / 0.7632 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001296/0.006427, allocations: 0.6309 MB / 0.7638 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0008258/0.007253, allocations: 0.7608 MB / 0.7646 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.007411, allocations: 59.81 kB / 0.7646 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006213/0.008033, allocations: 467.1 kB / 0.7651 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003193/0.008352, allocations: 195.8 kB / 0.7653 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 8.122e-05/0.008433, allocations: 56 kB / 0.7653 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.008566, allocations: 66.73 kB / 0.7654 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.482e-05/0.008621, allocations: 67.73 kB / 0.7655 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.008794, allocations: 183.7 kB / 0.7656 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004646/0.009259, allocations: 454.6 kB / 0.7661 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.009265, allocations: 0 / 0.7661 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.503e-06/0.009267, allocations: 0 / 0.7661 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.009273, allocations: 0 / 0.7661 GB, free: 0.5 MB / 0.7136 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.001201/0.01047, allocations: 0.7186 MB / 0.7668 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.01051, allocations: 8.031 kB / 0.7668 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.01062, allocations: 56.88 kB / 0.7668 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.01097, allocations: 241.8 kB / 0.7671 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.435e-05/0.01101, allocations: 24.89 kB / 0.7671 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-05/0.01108, allocations: 45.5 kB / 0.7671 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002973/0.01138, allocations: 183.6 kB / 0.7673 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.01139, allocations: 4.125 kB / 0.7673 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.0114, allocations: 10.75 kB / 0.7673 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.01141, allocations: 8.359 kB / 0.7673 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.705e-05/0.0115, allocations: 43.91 kB / 0.7674 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007783/0.01228, allocations: 0.5648 MB / 0.7679 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002401/0.01252, allocations: 131.9 kB / 0.768 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.133e-05/0.01259, allocations: 52.56 kB / 0.7681 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.01261, allocations: 8 kB / 0.7681 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002662/0.01288, allocations: 235.5 kB / 0.7683 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=37): time 1.543e-06/0.01288, allocations: 0 / 0.7683 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37): time 0.0003914/0.01327, allocations: 254 kB / 0.7686 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.01333, allocations: 114.8 kB / 0.7687 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.0135, allocations: 247 kB / 0.7689 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.509e-05/0.01355, allocations: 53.62 kB / 0.769 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.584e-05/0.01364, allocations: 141.4 kB / 0.7691 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.503e-05/0.01371, allocations: 104 kB / 0.7692 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.0139, allocations: 138.1 kB / 0.7693 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.014, allocations: 351.3 kB / 0.7697 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002802/0.01428, allocations: 303.1 kB / 0.77 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003533/0.01464, allocations: 0.512 MB / 0.7705 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004145/0.01505, allocations: 483.6 kB / 0.7709 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.01506, allocations: 0 / 0.7709 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007381/0.01579, allocations: 0.7768 MB / 0.7717 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.0159, allocations: 196.9 kB / 0.7719 GB, free: 10 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.01591, allocations: 4 kB / 0.7719 GB, free: 9.996 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.01593, allocations: 4 kB / 0.7719 GB, free: 9.992 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.01609, allocations: 59.89 kB / 0.7719 GB, free: 9.934 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.0161, allocations: 11.94 kB / 0.7719 GB, free: 9.922 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004314/0.01653, allocations: 138.1 kB / 0.7721 GB, free: 9.789 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.163e-05/0.0166, allocations: 41.05 kB / 0.7721 GB, free: 9.75 MB / 0.7292 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.0001487/0.01675, allocations: 152.3 kB / 0.7723 GB, free: 9.594 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.591e-05/0.01679, allocations: 36.62 kB / 0.7723 GB, free: 9.559 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.567e-05/0.01685, allocations: 36.48 kB / 0.7723 GB, free: 9.523 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.01685, allocations: 4 kB / 0.7723 GB, free: 9.52 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.01685, allocations: 0 / 0.7723 GB, free: 9.52 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.01686, allocations: 3.984 kB / 0.7723 GB, free: 9.516 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006181/0.01748, allocations: 0.5791 MB / 0.7729 GB, free: 8.906 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.01748, allocations: 2.75 kB / 0.7729 GB, free: 8.906 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/0.01763, allocations: 47.89 kB / 0.7729 GB, free: 8.859 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.01763, allocations: 0 / 0.7729 GB, free: 8.859 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.01766, allocations: 12 kB / 0.773 GB, free: 8.848 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.01766, allocations: 7.984 kB / 0.773 GB, free: 8.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.01766, allocations: 0 / 0.773 GB, free: 8.84 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006856/0.01835, allocations: 0.4899 MB / 0.7734 GB, free: 8.336 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.367e-05/0.01838, allocations: 35.73 kB / 0.7735 GB, free: 8.301 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.01842, allocations: 11.98 kB / 0.7735 GB, free: 8.289 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.01859, allocations: 15.98 kB / 0.7735 GB, free: 8.273 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.388e-05/0.01864, allocations: 31.89 kB / 0.7735 GB, free: 8.242 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.01866, allocations: 20.98 kB / 0.7736 GB, free: 8.223 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.812e-05/0.01874, allocations: 88.62 kB / 0.7736 GB, free: 8.137 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01874, allocations: 0 / 0.7736 GB, free: 8.137 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004411/0.01918, allocations: 109.2 kB / 0.7737 GB, free: 8.031 MB / 0.7292 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.000157/0.01934, allocations: 97.16 kB / 0.7738 GB, free: 7.93 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006532/0.01999, allocations: 0.8192 MB / 0.7746 GB, free: 7 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.894e-06/0.02, allocations: 5.969 kB / 0.7746 GB, free: 6.996 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.02013, allocations: 111.2 kB / 0.7747 GB, free: 6.887 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005683/0.0207, allocations: 123.1 kB / 0.7749 GB, free: 6.77 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007164/0.02142, allocations: 0.53 MB / 0.7754 GB, free: 6.199 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.853e-05/0.0215, allocations: 102.1 kB / 0.7755 GB, free: 6.082 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001486/0.02164, allocations: 46.44 kB / 0.7755 GB, free: 6.047 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000378/0.02202, allocations: 194 kB / 0.7757 GB, free: 5.855 MB / 0.7292 GB Notification: Performance of SimCode: time 9.01e-07/0.02202, allocations: 0 / 0.7757 GB, free: 5.855 MB / 0.7292 GB Notification: Performance of Templates: time 0.01283/0.03485, allocations: 8.128 MB / 0.7836 GB, free: 14.02 MB / 0.7448 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 -s gbode -gbm=radauIIA3 -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.415607789997011]