Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009945/0.0009945, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.000996/0.000996, allocations: 173.7 kB / 23.28 MB, free: 1.219 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 1.024/1.024, allocations: 177.1 MB / 203.7 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.402/2.402, allocations: 438.1 MB / 0.682 GB, free: 14.14 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.8898 GB, free: 9.691 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.785e-05/2.972e-05, allocations: 9.062 kB / 0.8898 GB, free: 9.684 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002306/0.002336, allocations: 1.24 MB / 0.891 GB, free: 8.441 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002291/0.004627, allocations: 1.738 MB / 0.8927 GB, free: 6.688 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.004748, allocations: 0 / 0.8927 GB, free: 6.688 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 5.915e-05/0.004807, allocations: 19.69 kB / 0.8927 GB, free: 6.668 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002416/0.005049, allocations: 103.1 kB / 0.8928 GB, free: 6.566 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.006283, allocations: 0.6276 MB / 0.8935 GB, free: 5.938 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0007271/0.00701, allocations: 0.768 MB / 0.8942 GB, free: 5.168 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.007169, allocations: 52.89 kB / 0.8943 GB, free: 5.113 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005864/0.007755, allocations: 455.2 kB / 0.8947 GB, free: 4.668 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003472/0.008102, allocations: 207.4 kB / 0.8949 GB, free: 4.465 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 9.335e-05/0.008196, allocations: 52 kB / 0.8949 GB, free: 4.414 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.008327, allocations: 67.92 kB / 0.895 GB, free: 4.348 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.113e-05/0.008389, allocations: 67.75 kB / 0.8951 GB, free: 4.281 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001817/0.00857, allocations: 183.7 kB / 0.8952 GB, free: 4.102 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004986/0.009069, allocations: 450.8 kB / 0.8957 GB, free: 3.66 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.009071, allocations: 0 / 0.8957 GB, free: 3.66 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.41e-07/0.009072, allocations: 0 / 0.8957 GB, free: 3.66 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.009077, allocations: 3.938 kB / 0.8957 GB, free: 3.656 MB / 0.8542 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.001077/0.01015, allocations: 0.941 MB / 0.8966 GB, free: 2.621 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.0102, allocations: 8.625 kB / 0.8966 GB, free: 2.613 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.01032, allocations: 64.7 kB / 0.8967 GB, free: 2.551 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004034/0.01073, allocations: 288.6 kB / 0.8969 GB, free: 2.238 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.325e-05/0.01077, allocations: 28.36 kB / 0.897 GB, free: 2.211 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.013e-05/0.01086, allocations: 44.38 kB / 0.897 GB, free: 2.168 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003335/0.01119, allocations: 203.1 kB / 0.8972 GB, free: 1.949 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.0112, allocations: 192 / 0.8972 GB, free: 1.949 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.01122, allocations: 8.359 kB / 0.8972 GB, free: 1.941 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.01123, allocations: 4.375 kB / 0.8972 GB, free: 1.938 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.01134, allocations: 55.83 kB / 0.8973 GB, free: 1.883 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.01237, allocations: 0.8918 MB / 0.8981 GB, free: 0.9531 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000314/0.01269, allocations: 173.6 kB / 0.8983 GB, free: 0.7461 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.776e-05/0.01278, allocations: 67.02 kB / 0.8984 GB, free: 0.668 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.0128, allocations: 4 kB / 0.8984 GB, free: 0.6641 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003089/0.01311, allocations: 256.1 kB / 0.8986 GB, free: 396 kB / 0.8542 GB Notification: Performance of pre-optimization done (n=37): time 1.984e-06/0.01311, allocations: 0 / 0.8986 GB, free: 396 kB / 0.8542 GB Notification: Performance of matching and sorting (n=37): time 0.0005654/0.01368, allocations: 332.1 kB / 0.8989 GB, free: 60 kB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/0.01374, allocations: 114.7 kB / 0.899 GB, free: 15.92 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.0139, allocations: 314.1 kB / 0.8993 GB, free: 15.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.081e-05/0.01395, allocations: 45.7 kB / 0.8994 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.01406, allocations: 207.7 kB / 0.8996 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.567e-05/0.01412, allocations: 111.1 kB / 0.8997 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/0.01427, allocations: 155.7 kB / 0.8998 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.01442, allocations: 0.5156 MB / 0.9003 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000232/0.01465, allocations: 327.1 kB / 0.9007 GB, free: 14.19 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/0.01497, allocations: 0.5766 MB / 0.9012 GB, free: 13.48 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003365/0.01531, allocations: 0.5055 MB / 0.9017 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.01531, allocations: 0 / 0.9017 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007081/0.01602, allocations: 0.9152 MB / 0.9026 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.344e-05/0.01611, allocations: 198.2 kB / 0.9028 GB, free: 11.65 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.01611, allocations: 4 kB / 0.9028 GB, free: 11.65 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.01613, allocations: 8 kB / 0.9028 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.01625, allocations: 47.91 kB / 0.9029 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.01625, allocations: 8.359 kB / 0.9029 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003276/0.01658, allocations: 135.7 kB / 0.903 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.944e-05/0.01663, allocations: 43.97 kB / 0.903 GB, free: 11.41 MB / 0.8698 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.0001431/0.01677, allocations: 210.4 kB / 0.9032 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.257e-05/0.01682, allocations: 47.8 kB / 0.9033 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.423e-05/0.01686, allocations: 29.81 kB / 0.9033 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.01686, allocations: 4 kB / 0.9033 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.01687, allocations: 4 kB / 0.9033 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.01687, allocations: 3.984 kB / 0.9033 GB, free: 11.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005883/0.01746, allocations: 0.8446 MB / 0.9041 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.01746, allocations: 4 kB / 0.9041 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.01757, allocations: 47.84 kB / 0.9042 GB, free: 10.17 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.01757, allocations: 4 kB / 0.9042 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.01759, allocations: 11.98 kB / 0.9042 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.01759, allocations: 4 kB / 0.9042 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.01759, allocations: 0 / 0.9042 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004249/0.01802, allocations: 0.6893 MB / 0.9049 GB, free: 9.438 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.796e-05/0.01805, allocations: 39.67 kB / 0.9049 GB, free: 9.398 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.01807, allocations: 12 kB / 0.9049 GB, free: 9.387 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.01817, allocations: 15.92 kB / 0.9049 GB, free: 9.371 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.01822, allocations: 35.89 kB / 0.905 GB, free: 9.336 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.01823, allocations: 15.98 kB / 0.905 GB, free: 9.32 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 7.914e-05/0.01831, allocations: 199 kB / 0.9052 GB, free: 9.129 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.01831, allocations: 0 / 0.9052 GB, free: 9.129 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003084/0.01862, allocations: 108 kB / 0.9053 GB, free: 9.023 MB / 0.8698 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.0001527/0.01877, allocations: 115.1 kB / 0.9054 GB, free: 8.902 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005543/0.01933, allocations: 0.8506 MB / 0.9062 GB, free: 7.934 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.01933, allocations: 0 / 0.9062 GB, free: 7.934 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.01945, allocations: 115.4 kB / 0.9063 GB, free: 7.816 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004461/0.01989, allocations: 125.7 kB / 0.9065 GB, free: 7.691 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005603/0.02045, allocations: 0.5372 MB / 0.907 GB, free: 7.117 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.118e-05/0.02052, allocations: 97.11 kB / 0.9071 GB, free: 7.004 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 9.993e-05/0.02062, allocations: 51.36 kB / 0.9071 GB, free: 6.949 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000299/0.02091, allocations: 234 kB / 0.9073 GB, free: 6.719 MB / 0.8698 GB Notification: Performance of SimCode: time 4.91e-07/0.02092, allocations: 0 / 0.9073 GB, free: 6.719 MB / 0.8698 GB Notification: Performance of Templates: time 0.008964/0.02988, allocations: 8.154 MB / 0.9153 GB, free: 14.76 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.505183933768421]