Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009883/0.0009883, allocations: 91.56 kB / 20.46 MB, free: 4.133 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.001029/0.001029, allocations: 161 kB / 23.82 MB, free: 0.7695 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.9142/0.9142, allocations: 177.1 MB / 204.2 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.769/1.769, allocations: 359 MB / 0.6052 GB, free: 11.06 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.355e-06/2.355e-06, allocations: 0 / 0.7872 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.53e-05/1.765e-05, allocations: 2.312 kB / 0.7872 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.001609/0.001627, allocations: 1.26 MB / 0.7884 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001767/0.003394, allocations: 1.742 MB / 0.7901 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.86e-05/0.003483, allocations: 0 / 0.7901 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.242e-05/0.003535, allocations: 29.27 kB / 0.7901 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001856/0.003721, allocations: 103.1 kB / 0.7902 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009503/0.004671, allocations: 0.6299 MB / 0.7908 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006097/0.005281, allocations: 0.7601 MB / 0.7916 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.005428, allocations: 48.89 kB / 0.7916 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004205/0.005849, allocations: 459.2 kB / 0.7921 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002443/0.006093, allocations: 210.8 kB / 0.7923 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.676e-05/0.00616, allocations: 52.53 kB / 0.7923 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.85e-05/0.006258, allocations: 60 kB / 0.7924 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.99e-05/0.006308, allocations: 73.11 kB / 0.7925 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.006452, allocations: 183.7 kB / 0.7926 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000371/0.006823, allocations: 450.8 kB / 0.7931 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.006825, allocations: 5.188 kB / 0.7931 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.51e-07/0.006825, allocations: 0 / 0.7931 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.006831, allocations: 3.938 kB / 0.7931 GB, free: 6.43 MB / 0.7448 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.0008702/0.007701, allocations: 0.9268 MB / 0.794 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.00774, allocations: 9 kB / 0.794 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.007853, allocations: 68.73 kB / 0.794 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003081/0.008161, allocations: 281.6 kB / 0.7943 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.494e-05/0.008196, allocations: 24.38 kB / 0.7943 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.453e-05/0.008261, allocations: 48.36 kB / 0.7944 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002941/0.008555, allocations: 212.8 kB / 0.7946 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.008565, allocations: 192 / 0.7946 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.008583, allocations: 4.375 kB / 0.7946 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.008594, allocations: 8.375 kB / 0.7946 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.008714, allocations: 78.88 kB / 0.7947 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008375/0.009551, allocations: 0.9303 MB / 0.7956 GB, free: 3.676 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000276/0.009827, allocations: 182.9 kB / 0.7958 GB, free: 3.461 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.427e-05/0.009912, allocations: 71.03 kB / 0.7958 GB, free: 3.379 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.009932, allocations: 4.625 kB / 0.7958 GB, free: 3.375 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002549/0.01019, allocations: 258.3 kB / 0.7961 GB, free: 3.098 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=37): time 1.513e-06/0.01019, allocations: 1.031 kB / 0.7961 GB, free: 3.098 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37): time 0.0004925/0.01068, allocations: 369.8 kB / 0.7964 GB, free: 2.734 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.01073, allocations: 114.8 kB / 0.7965 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.01091, allocations: 310.3 kB / 0.7968 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.139e-05/0.01096, allocations: 45.7 kB / 0.7969 GB, free: 2.227 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.01106, allocations: 203.7 kB / 0.7971 GB, free: 2.02 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.266e-05/0.01113, allocations: 104 kB / 0.7972 GB, free: 1.918 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/0.01128, allocations: 151.8 kB / 0.7973 GB, free: 1.762 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.01141, allocations: 0.5166 MB / 0.7978 GB, free: 1.234 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003109/0.01172, allocations: 363.1 kB / 0.7982 GB, free: 0.8438 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003755/0.01209, allocations: 0.6091 MB / 0.7988 GB, free: 108 kB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004109/0.0125, allocations: 0.5466 MB / 0.7993 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.01251, allocations: 0 / 0.7993 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008323/0.01334, allocations: 0.9641 MB / 0.8002 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 8.197e-05/0.01342, allocations: 198.2 kB / 0.8004 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.01343, allocations: 4 kB / 0.8004 GB, free: 14.19 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.01344, allocations: 9.062 kB / 0.8004 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.01356, allocations: 43.91 kB / 0.8005 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.01357, allocations: 21 kB / 0.8005 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003293/0.0139, allocations: 133.7 kB / 0.8006 GB, free: 13.99 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-05/0.01395, allocations: 45.28 kB / 0.8007 GB, free: 13.95 MB / 0.7605 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.0001321/0.01409, allocations: 203.8 kB / 0.8009 GB, free: 13.74 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.279e-05/0.01413, allocations: 51.75 kB / 0.8009 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.263e-05/0.01417, allocations: 30.91 kB / 0.8009 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.01417, allocations: 7.938 kB / 0.8009 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.01418, allocations: 0 / 0.8009 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.01418, allocations: 4.641 kB / 0.801 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006548/0.01484, allocations: 0.8982 MB / 0.8018 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.01484, allocations: 0 / 0.8018 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.01495, allocations: 47.84 kB / 0.8019 GB, free: 12.66 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.01495, allocations: 4 kB / 0.8019 GB, free: 12.65 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.01497, allocations: 11.98 kB / 0.8019 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.01497, allocations: 0 / 0.8019 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.01498, allocations: 7.938 kB / 0.8019 GB, free: 12.63 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004935/0.01547, allocations: 0.7307 MB / 0.8026 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 2.599e-05/0.0155, allocations: 35.73 kB / 0.8026 GB, free: 11.85 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.01552, allocations: 16 kB / 0.8027 GB, free: 11.83 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.01563, allocations: 19.98 kB / 0.8027 GB, free: 11.81 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.37e-05/0.01569, allocations: 27.89 kB / 0.8027 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.01571, allocations: 19.98 kB / 0.8027 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001084/0.01582, allocations: 211 kB / 0.8029 GB, free: 11.56 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.01582, allocations: 0 / 0.8029 GB, free: 11.56 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003256/0.01614, allocations: 112 kB / 0.803 GB, free: 11.45 MB / 0.7605 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.0001556/0.0163, allocations: 123 kB / 0.8032 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.00067/0.01697, allocations: 0.8933 MB / 0.804 GB, free: 10.31 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.01697, allocations: 4 kB / 0.804 GB, free: 10.31 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.0171, allocations: 121.9 kB / 0.8041 GB, free: 10.19 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004509/0.01755, allocations: 118.4 kB / 0.8043 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006171/0.01817, allocations: 0.5489 MB / 0.8048 GB, free: 9.48 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.048e-05/0.01823, allocations: 93.12 kB / 0.8049 GB, free: 9.371 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001033/0.01833, allocations: 51.27 kB / 0.8049 GB, free: 9.32 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.633e-05/0.01839, allocations: 40.48 kB / 0.805 GB, free: 9.281 MB / 0.7605 GB Notification: Performance of SimCode: time 7.12e-07/0.01839, allocations: 0 / 0.805 GB, free: 9.281 MB / 0.7605 GB Notification: Performance of Templates: time 0.009069/0.02746, allocations: 8.161 MB / 0.8129 GB, free: 1.316 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.155790616758168]