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.0009516/0.0009516, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009663/0.0009663, allocations: 173 kB / 23.03 MB, free: 1.543 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.9658/0.9658, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.026/2.026, allocations: 429.5 MB / 0.6733 GB, free: 4.039 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 2.215e-06/2.215e-06, allocations: 0 / 0.8782 GB, free: 6.234 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.95e-05/2.171e-05, allocations: 5.984 kB / 0.8783 GB, free: 6.23 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.001597/0.001619, allocations: 1.26 MB / 0.8795 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001689/0.003308, allocations: 1.749 MB / 0.8812 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.003415, allocations: 5.344 kB / 0.8812 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.225e-05/0.003467, allocations: 23.62 kB / 0.8812 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002/0.003667, allocations: 100.6 kB / 0.8813 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.004686, allocations: 0.6305 MB / 0.8819 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005868/0.005273, allocations: 0.767 MB / 0.8827 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.005407, allocations: 44.91 kB / 0.8827 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004343/0.005842, allocations: 459.2 kB / 0.8832 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002488/0.00609, allocations: 208.1 kB / 0.8834 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.809e-05/0.006159, allocations: 56 kB / 0.8834 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.928e-05/0.006258, allocations: 64 kB / 0.8835 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.525e-05/0.006303, allocations: 63.73 kB / 0.8835 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0002205/0.006524, allocations: 187.7 kB / 0.8837 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003786/0.006902, allocations: 446.8 kB / 0.8841 GB, free: 220 kB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.006904, allocations: 4 kB / 0.8841 GB, free: 216 kB / 0.8386 GB Notification: Performance of FrontEnd: time 6.61e-07/0.006905, allocations: 0 / 0.8841 GB, free: 216 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.006911, allocations: 0 / 0.8841 GB, free: 216 kB / 0.8386 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.0008579/0.007769, allocations: 0.9255 MB / 0.885 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.007804, allocations: 15.97 kB / 0.8851 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.00791, allocations: 64.67 kB / 0.8851 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.008207, allocations: 288.6 kB / 0.8854 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.139e-05/0.008238, allocations: 32.31 kB / 0.8854 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.217e-05/0.008301, allocations: 48.34 kB / 0.8855 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002815/0.008582, allocations: 207.2 kB / 0.8857 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.008592, allocations: 192 / 0.8857 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.008612, allocations: 12.36 kB / 0.8857 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.00862, allocations: 4.375 kB / 0.8857 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.008729, allocations: 71.77 kB / 0.8858 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007879/0.009517, allocations: 0.9304 MB / 0.8867 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002692/0.009786, allocations: 181.6 kB / 0.8868 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.057e-05/0.009866, allocations: 67.03 kB / 0.8869 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.009888, allocations: 8 kB / 0.8869 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002425/0.01013, allocations: 257.5 kB / 0.8872 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=37): time 1.422e-06/0.01013, allocations: 0 / 0.8872 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37): time 0.000487/0.01062, allocations: 376.6 kB / 0.8875 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.01066, allocations: 110.8 kB / 0.8876 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.01085, allocations: 318.2 kB / 0.8879 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.979e-05/0.0109, allocations: 45.7 kB / 0.888 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.999e-05/0.011, allocations: 199.7 kB / 0.8882 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.302e-05/0.01106, allocations: 111.1 kB / 0.8883 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/0.01121, allocations: 147.8 kB / 0.8884 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.01133, allocations: 0.5195 MB / 0.8889 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003131/0.01164, allocations: 363.1 kB / 0.8893 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000379/0.01202, allocations: 0.6118 MB / 0.8899 GB, free: 9.852 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004002/0.01242, allocations: 0.5261 MB / 0.8904 GB, free: 9.23 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.969e-05/0.0125, allocations: 8 kB / 0.8904 GB, free: 9.223 MB / 0.8542 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008471/0.01335, allocations: 0.9807 MB / 0.8913 GB, free: 8.164 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.038e-05/0.01343, allocations: 198.2 kB / 0.8915 GB, free: 7.934 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.01344, allocations: 4 kB / 0.8915 GB, free: 7.93 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.01345, allocations: 4 kB / 0.8915 GB, free: 7.926 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.01358, allocations: 56.28 kB / 0.8916 GB, free: 7.871 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.01359, allocations: 11.92 kB / 0.8916 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003371/0.01392, allocations: 135.6 kB / 0.8917 GB, free: 7.727 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.892e-05/0.01397, allocations: 43.91 kB / 0.8918 GB, free: 7.684 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.000124/0.0141, allocations: 202.5 kB / 0.892 GB, free: 7.477 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.346e-05/0.01414, allocations: 51.8 kB / 0.892 GB, free: 7.426 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.884e-05/0.01418, allocations: 29.81 kB / 0.892 GB, free: 7.395 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.01418, allocations: 7.984 kB / 0.892 GB, free: 7.387 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.01419, allocations: 48 / 0.892 GB, free: 7.387 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.994e-06/0.0142, allocations: 7.984 kB / 0.8921 GB, free: 7.379 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006643/0.01486, allocations: 0.8939 MB / 0.8929 GB, free: 6.438 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.01486, allocations: 0 / 0.8929 GB, free: 6.438 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.01497, allocations: 43.91 kB / 0.893 GB, free: 6.395 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.01498, allocations: 0 / 0.893 GB, free: 6.395 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.01499, allocations: 11.98 kB / 0.893 GB, free: 6.383 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.015, allocations: 4 kB / 0.893 GB, free: 6.379 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.015, allocations: 3.938 kB / 0.893 GB, free: 6.375 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005229/0.01552, allocations: 0.7359 MB / 0.8937 GB, free: 5.617 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.631e-05/0.01555, allocations: 35.8 kB / 0.8937 GB, free: 5.582 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.01558, allocations: 8 kB / 0.8937 GB, free: 5.574 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.01569, allocations: 11.98 kB / 0.8938 GB, free: 5.562 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/0.01574, allocations: 35.89 kB / 0.8938 GB, free: 5.527 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.01576, allocations: 19.98 kB / 0.8938 GB, free: 5.508 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001055/0.01587, allocations: 207 kB / 0.894 GB, free: 5.309 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01587, allocations: 0 / 0.894 GB, free: 5.309 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003485/0.01621, allocations: 115.9 kB / 0.8941 GB, free: 5.195 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.0001268/0.01634, allocations: 119.1 kB / 0.8942 GB, free: 5.066 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006939/0.01703, allocations: 0.8895 MB / 0.8951 GB, free: 4.062 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.01704, allocations: 0 / 0.8951 GB, free: 4.062 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.01717, allocations: 131.3 kB / 0.8952 GB, free: 3.93 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004676/0.01763, allocations: 127.3 kB / 0.8953 GB, free: 3.805 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006434/0.01828, allocations: 0.5372 MB / 0.8959 GB, free: 3.23 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.069e-05/0.01834, allocations: 97.11 kB / 0.896 GB, free: 3.117 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001121/0.01845, allocations: 47.28 kB / 0.896 GB, free: 3.07 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.528e-05/0.0185, allocations: 36.48 kB / 0.896 GB, free: 3.031 MB / 0.8542 GB Notification: Performance of SimCode: time 8.21e-07/0.01851, allocations: 0 / 0.896 GB, free: 3.031 MB / 0.8542 GB Notification: Performance of Templates: time 0.009451/0.02796, allocations: 8.177 MB / 0.904 GB, free: 11.04 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.42102659214288]