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.001318/0.001318, allocations: 92.2 kB / 20.19 MB, free: 4.367 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.00148/0.00148, allocations: 173 kB / 23.49 MB, free: 1.062 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.051/1.051, allocations: 177.1 MB / 203.8 MB, free: 5.617 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.359/2.359, allocations: 429.5 MB / 0.6736 GB, free: 4.027 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 3.557e-06/3.557e-06, allocations: 0 / 0.8783 GB, free: 6.531 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.189e-05/4.545e-05, allocations: 2.812 kB / 0.8783 GB, free: 6.527 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002533/0.002578, allocations: 1.246 MB / 0.8795 GB, free: 5.305 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002092/0.00467, allocations: 1.742 MB / 0.8812 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.004802, allocations: 5.094 kB / 0.8812 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 6.068e-05/0.004862, allocations: 23.67 kB / 0.8812 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002093/0.005072, allocations: 95.98 kB / 0.8813 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.006116, allocations: 0.6397 MB / 0.8819 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0006216/0.006738, allocations: 0.7578 MB / 0.8827 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.006931, allocations: 48.89 kB / 0.8827 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004266/0.007358, allocations: 427.4 kB / 0.8831 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00034/0.007698, allocations: 228.4 kB / 0.8833 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.007801, allocations: 72 kB / 0.8834 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.007943, allocations: 79.98 kB / 0.8835 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.404e-05/0.008027, allocations: 80.8 kB / 0.8836 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0002167/0.008244, allocations: 211.6 kB / 0.8838 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0006146/0.008859, allocations: 0.522 MB / 0.8843 GB, free: 400 kB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.008865, allocations: 5.094 kB / 0.8843 GB, free: 396 kB / 0.8386 GB Notification: Performance of FrontEnd: time 1.382e-06/0.008867, allocations: 0 / 0.8843 GB, free: 396 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.008878, allocations: 0 / 0.8843 GB, free: 396 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.001161/0.01004, allocations: 0.9547 MB / 0.8852 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.01009, allocations: 8.031 kB / 0.8852 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001284/0.01022, allocations: 60.75 kB / 0.8853 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007407/0.01096, allocations: 383.8 kB / 0.8856 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.16e-05/0.011, allocations: 28.38 kB / 0.8857 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.124e-05/0.01107, allocations: 48.36 kB / 0.8857 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003097/0.01138, allocations: 204.3 kB / 0.8859 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.01139, allocations: 192 / 0.8859 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.01141, allocations: 12.38 kB / 0.8859 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.01142, allocations: 8.812 kB / 0.8859 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.01155, allocations: 71.47 kB / 0.886 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008837/0.01243, allocations: 0.928 MB / 0.8869 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003027/0.01273, allocations: 184.4 kB / 0.8871 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.241e-05/0.01283, allocations: 75.02 kB / 0.8872 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.01285, allocations: 8 kB / 0.8872 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000279/0.01313, allocations: 258.1 kB / 0.8874 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=37): time 2.364e-06/0.01313, allocations: 0 / 0.8874 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37): time 0.0005187/0.01365, allocations: 366.1 kB / 0.8878 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.798e-05/0.01371, allocations: 114.7 kB / 0.8879 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.01394, allocations: 314.2 kB / 0.8882 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.654e-05/0.01399, allocations: 45.7 kB / 0.8882 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.01411, allocations: 207.7 kB / 0.8884 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.197e-05/0.01419, allocations: 99.17 kB / 0.8885 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001652/0.01435, allocations: 163.8 kB / 0.8887 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.01451, allocations: 0.5195 MB / 0.8892 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003456/0.01486, allocations: 363.1 kB / 0.8895 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005662/0.01542, allocations: 0.7787 MB / 0.8903 GB, free: 9.703 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004299/0.01585, allocations: 0.5415 MB / 0.8908 GB, free: 9.066 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.01586, allocations: 4 kB / 0.8908 GB, free: 9.062 MB / 0.8542 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00103/0.01689, allocations: 0.9816 MB / 0.8918 GB, free: 8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.804e-05/0.01698, allocations: 186.2 kB / 0.8919 GB, free: 7.781 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.01699, allocations: 4 kB / 0.8919 GB, free: 7.777 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.01701, allocations: 7.984 kB / 0.892 GB, free: 7.77 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.01713, allocations: 43.92 kB / 0.892 GB, free: 7.727 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.01714, allocations: 7.984 kB / 0.892 GB, free: 7.719 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003287/0.01747, allocations: 144 kB / 0.8921 GB, free: 7.578 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.954e-05/0.01752, allocations: 43.97 kB / 0.8922 GB, free: 7.535 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.0001348/0.01766, allocations: 214.3 kB / 0.8924 GB, free: 7.316 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.359e-05/0.0177, allocations: 55.75 kB / 0.8924 GB, free: 7.262 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.922e-05/0.01774, allocations: 25.81 kB / 0.8925 GB, free: 7.238 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.01774, allocations: 4 kB / 0.8925 GB, free: 7.234 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.01775, allocations: 4 kB / 0.8925 GB, free: 7.23 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.01775, allocations: 3.984 kB / 0.8925 GB, free: 7.227 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008156/0.01857, allocations: 0.8901 MB / 0.8933 GB, free: 6.289 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.01857, allocations: 4 kB / 0.8933 GB, free: 6.285 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.01867, allocations: 39.91 kB / 0.8934 GB, free: 6.246 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.01868, allocations: 4 kB / 0.8934 GB, free: 6.242 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.0187, allocations: 11.98 kB / 0.8934 GB, free: 6.23 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.0187, allocations: 0 / 0.8934 GB, free: 6.23 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.01871, allocations: 7.938 kB / 0.8934 GB, free: 6.223 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005671/0.01928, allocations: 0.7371 MB / 0.8941 GB, free: 5.465 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.456e-05/0.0193, allocations: 27.75 kB / 0.8942 GB, free: 5.438 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.01933, allocations: 12 kB / 0.8942 GB, free: 5.426 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.01943, allocations: 15.92 kB / 0.8942 GB, free: 5.41 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.01948, allocations: 35.94 kB / 0.8942 GB, free: 5.375 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.0195, allocations: 16 kB / 0.8942 GB, free: 5.359 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001072/0.01961, allocations: 207 kB / 0.8944 GB, free: 5.156 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01961, allocations: 0 / 0.8944 GB, free: 5.156 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003072/0.01991, allocations: 115.9 kB / 0.8945 GB, free: 5.043 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.0001489/0.02006, allocations: 115.1 kB / 0.8946 GB, free: 4.918 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006669/0.02073, allocations: 0.8926 MB / 0.8955 GB, free: 3.914 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.02073, allocations: 0 / 0.8955 GB, free: 3.914 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.02086, allocations: 115.5 kB / 0.8956 GB, free: 3.797 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004541/0.02131, allocations: 122.2 kB / 0.8957 GB, free: 3.676 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009266/0.02224, allocations: 0.5494 MB / 0.8963 GB, free: 3.094 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.307e-05/0.0223, allocations: 101.5 kB / 0.8964 GB, free: 2.977 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001106/0.02241, allocations: 59.23 kB / 0.8964 GB, free: 2.918 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.304e-05/0.02246, allocations: 36.5 kB / 0.8965 GB, free: 2.879 MB / 0.8542 GB Notification: Performance of SimCode: time 1.172e-06/0.02246, allocations: 4 kB / 0.8965 GB, free: 2.875 MB / 0.8542 GB Notification: Performance of Templates: time 0.00935/0.03182, allocations: 7.708 MB / 0.904 GB, free: 11.36 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: 6.162133177975193]