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.001026/0.001026, allocations: 73.97 kB / 20.65 MB, free: 3.844 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.001112/0.001112, allocations: 169 kB / 24.06 MB, free: 452 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.9762/0.9762, allocations: 177.1 MB / 204.5 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.104/2.104, allocations: 429.5 MB / 0.6743 GB, free: 3.93 MB / 0.6355 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.653e-06/1.653e-06, allocations: 0 / 0.8795 GB, free: 5.941 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.613e-05/1.778e-05, allocations: 4.984 kB / 0.8795 GB, free: 5.938 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.001574/0.001592, allocations: 1.229 MB / 0.8807 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001631/0.003223, allocations: 1.749 MB / 0.8824 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.6e-05/0.003309, allocations: 4 kB / 0.8824 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.446e-05/0.003354, allocations: 23.62 kB / 0.8824 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001843/0.003538, allocations: 99.27 kB / 0.8825 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009448/0.004483, allocations: 0.6303 MB / 0.8831 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005529/0.005036, allocations: 0.7652 MB / 0.8839 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.005158, allocations: 52.89 kB / 0.8839 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004133/0.005571, allocations: 460.8 kB / 0.8844 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002447/0.005816, allocations: 208 kB / 0.8846 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.674e-05/0.005883, allocations: 52 kB / 0.8846 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.687e-05/0.00598, allocations: 63.98 kB / 0.8847 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.773e-05/0.006027, allocations: 67.75 kB / 0.8847 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.006163, allocations: 183.7 kB / 0.8849 GB, free: 408 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003674/0.00653, allocations: 450.7 kB / 0.8853 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.006532, allocations: 4.719 kB / 0.8853 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of FrontEnd: time 8.82e-07/0.006533, allocations: 0 / 0.8853 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.006538, allocations: 1.656 kB / 0.8853 GB, free: 15.95 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.0008214/0.00736, allocations: 0.9382 MB / 0.8863 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.00739, allocations: 8.031 kB / 0.8863 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.007493, allocations: 68.69 kB / 0.8863 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002954/0.007789, allocations: 280.6 kB / 0.8866 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.174e-05/0.00782, allocations: 36.3 kB / 0.8866 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.957e-05/0.00788, allocations: 44.38 kB / 0.8867 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.008112, allocations: 195.1 kB / 0.8869 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.008121, allocations: 192 / 0.8869 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.008136, allocations: 8.359 kB / 0.8869 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.008142, allocations: 4.375 kB / 0.8869 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.704e-05/0.008219, allocations: 55.83 kB / 0.8869 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007291/0.008948, allocations: 0.8958 MB / 0.8878 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.009166, allocations: 169.6 kB / 0.888 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.148e-05/0.009228, allocations: 63.02 kB / 0.888 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.009246, allocations: 12 kB / 0.888 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002297/0.009476, allocations: 249.3 kB / 0.8883 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=37): time 1.343e-06/0.009478, allocations: 0 / 0.8883 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37): time 0.0004074/0.009885, allocations: 340.7 kB / 0.8886 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.00993, allocations: 114.8 kB / 0.8887 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.01009, allocations: 306.2 kB / 0.889 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.115e-05/0.01014, allocations: 49.7 kB / 0.889 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.01024, allocations: 203.7 kB / 0.8892 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.481e-05/0.01031, allocations: 107.1 kB / 0.8893 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/0.01047, allocations: 159.7 kB / 0.8895 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.0106, allocations: 0.5156 MB / 0.89 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002389/0.01084, allocations: 327.1 kB / 0.8903 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003187/0.01116, allocations: 0.5766 MB / 0.8909 GB, free: 9.789 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003701/0.01153, allocations: 0.5141 MB / 0.8914 GB, free: 9.18 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.01153, allocations: 0 / 0.8914 GB, free: 9.18 MB / 0.8542 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007557/0.01229, allocations: 0.9175 MB / 0.8923 GB, free: 8.184 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.831e-05/0.01238, allocations: 194.2 kB / 0.8925 GB, free: 7.957 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.01238, allocations: 4.375 kB / 0.8925 GB, free: 7.953 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.01239, allocations: 8 kB / 0.8925 GB, free: 7.945 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.01251, allocations: 51.89 kB / 0.8925 GB, free: 7.895 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.01252, allocations: 11.94 kB / 0.8925 GB, free: 7.883 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003441/0.01286, allocations: 135.7 kB / 0.8927 GB, free: 7.75 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-05/0.01291, allocations: 35.97 kB / 0.8927 GB, free: 7.715 MB / 0.8542 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.0001302/0.01304, allocations: 210.4 kB / 0.8929 GB, free: 7.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.309e-05/0.01309, allocations: 47.8 kB / 0.8929 GB, free: 7.453 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.142e-05/0.01313, allocations: 29.81 kB / 0.893 GB, free: 7.422 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.01313, allocations: 7.984 kB / 0.893 GB, free: 7.414 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.01313, allocations: 0 / 0.893 GB, free: 7.414 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.453e-06/0.01314, allocations: 8 kB / 0.893 GB, free: 7.406 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006019/0.01374, allocations: 0.8397 MB / 0.8938 GB, free: 6.527 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.01374, allocations: 0 / 0.8938 GB, free: 6.527 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.01385, allocations: 43.91 kB / 0.8938 GB, free: 6.484 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.01385, allocations: 4 kB / 0.8938 GB, free: 6.48 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.01387, allocations: 11.98 kB / 0.8939 GB, free: 6.469 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01387, allocations: 0 / 0.8939 GB, free: 6.469 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.01387, allocations: 4 kB / 0.8939 GB, free: 6.465 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004439/0.01432, allocations: 0.7063 MB / 0.8945 GB, free: 5.738 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.672e-05/0.01434, allocations: 35.73 kB / 0.8946 GB, free: 5.703 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.01437, allocations: 8 kB / 0.8946 GB, free: 5.695 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.01448, allocations: 11.98 kB / 0.8946 GB, free: 5.684 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.01452, allocations: 35.89 kB / 0.8946 GB, free: 5.648 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.01454, allocations: 15.98 kB / 0.8947 GB, free: 5.633 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.21e-05/0.01462, allocations: 199 kB / 0.8948 GB, free: 5.441 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01462, allocations: 0 / 0.8948 GB, free: 5.441 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003274/0.01495, allocations: 112 kB / 0.8949 GB, free: 5.332 MB / 0.8542 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.0001198/0.01507, allocations: 127 kB / 0.8951 GB, free: 5.195 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0008041/0.01587, allocations: 0.8387 MB / 0.8959 GB, free: 4.242 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.01588, allocations: 0 / 0.8959 GB, free: 4.242 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.01602, allocations: 116.2 kB / 0.896 GB, free: 4.125 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005403/0.01656, allocations: 129.8 kB / 0.8961 GB, free: 3.996 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006605/0.01722, allocations: 0.5255 MB / 0.8966 GB, free: 3.434 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.474e-05/0.01729, allocations: 97.12 kB / 0.8967 GB, free: 3.316 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001219/0.01741, allocations: 47.36 kB / 0.8968 GB, free: 3.27 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003717/0.01778, allocations: 234 kB / 0.897 GB, free: 3.039 MB / 0.8542 GB Notification: Performance of SimCode: time 1.512e-06/0.01778, allocations: 0 / 0.897 GB, free: 3.039 MB / 0.8542 GB Notification: Performance of Templates: time 0.0112/0.02898, allocations: 8.314 MB / 0.9051 GB, free: 10.91 MB / 0.8698 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.4689039289951324]